body {
	font-family: 'Consolas', 'Courier New', monospace;
	color: #cfd2d6;
	word-wrap: break-word;
	background-color: #0d0d0d;
    background-image: radial-gradient(circle at center, #1a1a1a 0%, #050505 100%), 
                      repeating-linear-gradient(45deg, transparent, transparent 2px, rgba(255,255,255,0.01) 2px, rgba(255,255,255,0.01) 4px);
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
}

strong { 
    font-weight: bold;
	font-style: normal;
	color: #e0e0e0;
}

/* =========================================================
   Consolidated Header Logic (Hides on Mobile, Shows on Desktop)
   ========================================================= */
#RandomVideo, #NextEvent {
	display: none;
}

@media (min-width:1281px) { 
	#RandomVideo, #NextEvent {
		display: block;
	}	
}

/* =========================================================
   Base Layout & Wrapper (UPDATED FOR WIDE SCREENS)
   ========================================================= */
#top {
	width: 100%;
	height: auto; /* Changed from 100% so it doesn't cover the screen */
	position: fixed;
	z-index: 1000;
}
#top_content_w {
	width: 100%;
    max-width: 95%;
	height:45px;
	margin:0 auto;
	padding:0.733em 0 0.733em 0;
}
#top_content_l {
	width: 49%; 
	height:auto;
	float:left;
	word-spacing:15px;
	text-align:left;
}
#top_content_r {
	width: 49%; 
	height:auto;
	float:right; 
	word-spacing:15px;
	text-align:right;
}

#wrapper {
    max-width: 95%; 
    width: 100%;
    box-sizing: border-box; 
	height: auto;
	min-height: 300px;
	margin: 0 auto;
	padding: 25px 50px 10px 50px;
	background-color: transparent; /* Removed the dim background box */
	border: none; /* Removed the outer border */
	box-shadow: none; /* Removed the vignette shadow */
	position: relative;
	top: 25px;
}

/* =========================================================
   Restored Components (Forms, Code blocks, etc.)
   ========================================================= */
pre {
	position: relative;
	width: 90%;
	min-height: 100px;
	padding: 15px;
	margin: 10px 0 0 0;
	color: #cfd2d6;
	background-color: rgba(10, 10, 10, 0.9);
	font-family: 'Consolas', 'Courier New', monospace;
	border: 1px solid #4a542b;
	border-radius: 2px;
}

pre textarea {	
	width: 98.5%;
	height: 100%;
	min-height: 200px;
	border: 1px solid #4a542b; 
	border-radius: 2px; 
	padding: 5px;
    background: transparent;
    color: #cfd2d6;
}

.gml_ts { float: right; font-size: 10px; text-align: middle; color: #8b9b4f; }
.actionicons { width: 150px; height: 50px; }
.savelog, .autofill, .deletelog { width: 40px; height: 40px; margin: 0 0 0 10px; float: left; cursor: pointer; }
.showaddlog { width: 100px; height: 15px; cursor: pointer; }

.addlog_form {
	position: relative;
	width: 90%;
	min-height: 100px;
	padding: 15px;
	margin: 10px 0 0 0;
	color: #cfd2d6;
	background-color: rgba(10, 10, 10, 0.9);
	font-family: 'Consolas', 'Courier New', monospace;
	border: 1px solid #4a542b;
	border-radius: 2px;
	display: none;
}

.addlog_form textarea {	
	width: 98.5%;
	height: 100%;
	min-height: 200px;
	border: 1px solid #4a542b; 
	border-radius: 2px; 
	padding: 5px;
    background: transparent;
    color: #cfd2d6;
}

.savelog_add, .autofill_add, .deletelog_add { width: 40px; height: 40px; margin: 0 0 0 10px; float: left; cursor: pointer; }
.response { display: none; }
:focus { outline: 0; }

form { font-size: 1em; }
form input.form_input:focus, form textarea.form_textarea:focus { background: rgba(30, 30, 30, 0.8); color: #e0e0e0; border-color: #8b9b4f; }
ol, ul { list-style: none; }
.clear { clear: both; }
a:link, a:active, a:visited { color: #8b9b4f !important; text-decoration: none; }
a:hover { color: #e0e0e0 !important; text-decoration: none; }

#TopBanner {
	position: relative; /* Anchors the absolutely positioned logo */
	width: 100%;
	height: 330px;
	border-radius: 2px;
	overflow: hidden;
    border: 1px solid #2a2a2a;
}

#logo {
	position: absolute;
	top: 5px;
	left: 45px;
	z-index: 10; /* Forces the logo to sit on top of the video */
	width: 280px;
	height: 320px;
	background: url(../images/patch_logo.png) no-repeat center center;
	background-size: 280px 280px;
	border-radius: 2px;
}

.BoxText { font-size: 24px; margin: 0; padding: 0; text-align:center; color: #e0e0e0; }

#NextEvent {
	text-align:center;
	width:100%;
	height:320px;
	background-color: rgba(20, 20, 20, 0.8);
	border: 1px solid #3e4623;
	overflow: hidden;
	margin:0 0 50px 0;
}
#NextEvent h4 {
	font-size: 24px;
	color: #e0e0e0;
	text-transform: uppercase;
	font-family: 'Consolas', 'Courier New', monospace;
	text-align: center;
	letter-spacing: 2px;
}
#EventInfo { width: auto; height: auto; margin: 0 auto; vertical-align: text-top; text-align:center; padding: 10px 5px 5px 10px; }
#EventInfo img { width: auto; height: auto; max-width:255px; max-height: 115px; margin: 25px; border: 1px solid #4a542b; }	

#RandomVideo { width:auto; height:320px; text-align:center; float:right; background-color: rgba(20, 20, 20, 0.8); border: 1px solid #3e4623; }
#RandomVideo iframe { margin: 10px 5px 10px 5px; }
#RandomVideo h4 { font-size: 24px; color: #e0e0e0; text-transform: uppercase; font-family: 'Consolas', 'Courier New', monospace; text-align: center; letter-spacing: 2px; }

.EventCalendar { width: 55%; height: auto; min-height: 250px; margin: 0 0 50px 0; text-align: center; font-size: 13px; color: #cfd2d6; }

@media (min-width:320px) { .EventEntry { width: 45px; height: 45px; } }
@media (min-width:481px) { .EventEntry { width: 65px; height: 65px; } }
@media (min-width:641px) { .EventEntry { width: 70px; height: 70px; } }
@media (min-width:961px) { .EventEntry { width: 80px; height: 80px; } }

/* =========================================================
   Navigation
   ========================================================= */
#navigation {
    position: relative; /* Added to activate the z-index */
    z-index: 1000;
    height: 45px;
    margin: 10px 0 0 0;
    background-color: rgba(20, 20, 20, 0.8);
    border: 1px solid #3e4623;
    border-radius: 2px 2px 0px 0px;
    box-sizing: border-box;
}
.topnav { background-color: transparent; overflow: hidden; }
.topnav a { float: left; display: block; color: #cfd2d6; text-align: center; padding: 14px 16px; text-decoration: none; font-size: 13px; text-transform: uppercase; }
.topnav a:hover { background-color: rgba(45, 52, 36, 0.6); color: #e0e0e0; }
.topnav a.active { background-color: #6b7a33; color: white !important; border-bottom: 2px solid #8b9b4f; }
.topnav .icon { display: none; color: #8b9b4f; }

@media screen and (max-width: 1350px) {
  .topnav a:not(:first-child) {display: none;}
  .topnav a.icon { float: right; display: block; }
  .topnav.responsive {position: relative; background-color: rgba(20, 20, 20, 0.95);}
  .topnav.responsive a.icon { position: absolute; right: 0; top: 0; }
  .topnav.responsive a { float: none; display: block; text-align: left; border-bottom: 1px solid #3e4623; }
}

/* =========================================================
   Content & Typography
   ========================================================= */
#content_w { width:100%; height:auto; min-height:200px; position:relative; margin:15px 0 0 0; }
#content_left { width:200px; height:auto; min-height:200px; }
#content_submenu { width:200px; height:auto; min-height:120px; padding: 5px; background-color: rgba(30, 30, 30, 0.6); border: 1px solid #3e4623; float:left; }
#submenu_header { width:200px; height:auto; min-height:30px; max-height:65px; overflow:hidden; border-radius: 2px; color: #e0e0e0; font-size:16px; padding:9px 0 0 5px; text-transform: uppercase; }
#content_submenu li { width:187px; height:27px; line-height:30px; list-style:none; padding:3px 15px 0 3px; overflow:hidden; }
#content_submenu span { width:200px; height:35px; line-height:15px; padding:0 0 0 3px; color: #cfd2d6; }

#content { width:100%; height:auto; min-height:200px; margin:0; }
#content h1 { font-size: 24px; line-height: 1.375em; margin:0 0 5px 0; color: #e0e0e0; text-transform: uppercase; letter-spacing: 2px; }
#content h2 { font-size: 28px; color: #e0e0e0; text-transform: uppercase; font-family: 'Consolas', 'Courier New', monospace; text-align: left; margin: 0; padding: 0; letter-spacing: 2px; border-bottom: 1px solid #3e4623; padding-bottom: 5px; }
#content h3, #content h4, #content h5 { font-size: 20px; margin: 0 0 10px 0; color: #8b9b4f; text-transform: uppercase; font-family: 'Consolas', 'Courier New', monospace; letter-spacing: 2px; }
#content h3 { text-align: left; }
#content h4 { text-align: center; }
#content h5 { text-align: left; line-height: 80px; margin: 0 0 0 80px; }
#content h6 { font-size: 22px; color: #e0e0e0; line-height: 73px; text-align: center; text-decoration: underline overline #8b9b4f; text-decoration-style: dashed; margin: 10px; text-transform: uppercase; }
#content h7 { font-size: 16px; margin: 0 0 100px 0; color: #cfd2d6; text-transform: uppercase; font-family: 'Consolas', 'Courier New', monospace; text-align: center; letter-spacing: 2px; }
#content h8 { font-size: 16px; margin: 0 0 10px 0; color: #cfd2d6; text-transform: uppercase; font-family: 'Consolas', 'Courier New', monospace; text-align: left; letter-spacing: 2px; line-height: 40px; margin: 0 0 0 40px; }
#content h9 { font-size: 18px; margin: 0 0 10px 0; color: #e0e0e0; text-transform: uppercase; font-family: 'Consolas', 'Courier New', monospace; text-align: left; letter-spacing: 2px; }
#content p { font-size: 14px; margin:10px 0 10px 0; line-height: 1.6; }
#content li { list-style: inside; margin: 5px; color: #cfd2d6; font-size: 14px; }

/* Responsive Tutorial Images */
.tutorial_img { margin: 10px 0 0 0; }
.tutorial_img img { width: 100%; max-width: 25%; height: auto; border: 2px solid #4a542b; display: block; margin: 0 auto; }
#videos iframe { width: 100%; height: 100%; margin: 5px; min-height: 600px; border: 1px solid #3e4623; }

/* =========================================================
   Footer & Responsive Admin Styles
   ========================================================= */
#footer { height:105px; margin:20px 0 0 0; }
#footer_bar { width:100%; height:2px; background-color:#3e4623; border-radius: 1px; }
#footer_content { height:70px; font-size: 12px; line-height: 1.833em; padding:0.733em 0 0.733em 0.733em; margin:15px 0 0 0; color: #8b9b4f; }
#footer_content_l { text-align:left; width:33%; height:70px; float: left; }
#footer_content_c { text-align:center; float:left; width:33%; height:70px; }
#footer_content_c2 { text-align:center; }
#footer_content_r { text-align:right; float:left; width:33%; height:70px; }

@media screen and (max-width: 360px) {
	#footer_content_c2 { display: none; }
	#gallerymanagementdiv { width: 100%; max-width: 500px; height:auto; } 
}

@media (min-width:641px) { 
	#gallerymanagementdiv { width: 100%; max-width: 500px; height:auto; } 
}

/* =========================================================
   Forms & Inputs (Made Responsive)
   ========================================================= */
.form_input, select, input[type="text"], input[type="datetime-local"] {
	width: 100%;
    max-width: 300px; 
	height: 35px; 
	margin:0 0 10px 0;
	font-size: 14px;
	font-family: 'Consolas', 'Courier New', monospace;
	border: 1px solid #4a542b;
	padding: 0.5em 9px;
	display: block;
	background-color: rgba(20, 20, 20, 0.8);
	color: #e0e0e0;
}

select { height: 40px; }

input[type="file"] {
    width: 100%;
    max-width: 300px;
	margin:10px 0 10px 0;
	font-size: 14px;
	background-color: rgba(20, 20, 20, 0.8);
	color: #e0e0e0;
	float: left;
    border: 1px solid #4a542b;
}

form input:focus, form textarea:focus { border-color: #8b9b4f; outline: none; }
.g-recaptcha { margin:0 0 10px 0; }

.button, input[type="submit"] {
	border: 1px solid #4a542b;
	border-radius: 2px;
	font-size: 14px;
	color: #e0e0e0;
	background: rgba(30, 30, 30, 0.6);
	padding: 8px 17px;	
	text-transform: uppercase;
	font-family: 'Consolas', 'Courier New', monospace;
	letter-spacing: 2px;
	margin: 10px 0 10px 0;
    cursor: pointer;
    transition: all 0.2s ease;
}

.button:hover, input[type="submit"]:hover {
    background: rgba(45, 52, 36, 0.6);
    border-color: #6b7a33;
}

/* =========================================================
   Account Admin Specific Styles
   ========================================================= */
.avatar-preview-container {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 10px;
}
.avatar-preview {
    width: 100px;
    height: 100px;
    border-radius: 2px;
    border: 1px solid #4a542b;
    object-fit: cover;
}
.account-item-row { 
    display: flex; 
    gap: 15px; 
    margin-bottom: 15px; 
    align-items: center;
}
.account-item-row input { 
    flex: 1; 
    margin: 0;
    max-width: none;
}
.btn-remove-item { 
    background-color: rgba(107, 122, 51, 0.2); 
    color: #e0e0e0; 
    border: 1px solid #4a542b; 
    padding: 10px 15px; 
    cursor: pointer; 
    border-radius: 2px; 
    font-weight: bold; 
    transition: all 0.2s;
    height: 44px;
    box-sizing: border-box;
}
.btn-remove-item:hover {
    background-color: #6b7a33;
    color: #fff;
}
.form-group small { 
    display: block;
    color: #737373; 
    font-size: 12px; 
    margin-bottom: 8px; 
}

/* =========================================================
   Flex Grids (Team Bio, etc)
   ========================================================= */
.tm_wrapper { width: 100%; display: flex; flex-flow: row wrap; text-align: center !important; margin: 0 0 10px 0; max-height: 1000px; min-height: 520px; border: 1px solid #3e4623; }
.tm_wrapper h3 { text-align: center !important; padding: 15px; color: #8b9b4f; }	
.tm_weapons { flex: 1 1 33%; background-color: rgba(30, 30, 30, 0.6); border-right: 1px solid #2c3325; overflow: hidden; padding: 0 0 10px 0; }
.tm_weapon { line-height: 30px; font-size: 14px; color: #cfd2d6; }
.tm_gears { flex: 1 1 34%; background-color: rgba(20, 20, 20, 0.8); overflow: hidden; padding: 0 0 10px 0; }
.tm_gear { line-height: 30px; font-size: 14px; color: #cfd2d6; }
.tm_bio { flex: 1 1 33%; background-color: rgba(30, 30, 30, 0.6); border-left: 1px solid #2c3325; overflow: hidden; padding: 0 0 10px 0; }
.tm_bio_item { line-height: 30px; font-size: 14px; color: #cfd2d6; }
.tm_bio img { width: 100%; max-width: 325px; height: auto; max-height: 350px; vertical-align: middle; border-bottom: 1px solid #3e4623; }

@media screen and (max-width: 1250px) { .tm_bio img { min-width: 250px; } }
@media screen and (max-width: 550px) { .tm_bio img { width: 150px; } }	

/* =========================================================
   News & Gallery Items
   ========================================================= */
.news_item_w { width:100%; height:auto; margin-bottom: 15px; }
.news_item_img { width:150px; height:150px; float:left; margin:0 25px 10px 0; position:relative; border: 1px solid #4a542b; }
.news_item_date { width:70px; height:70px; bottom:10px; color:#e0e0e0; float:left; border: 1px solid #3e4623; }
.news_item_date_upper { width:100%; height:28px; background-color:#6b7a33; text-align:center; font-size:14px; padding:7px 0 0 0; }	
.news_item_date_lower { width:100%; height:30px; background-color:rgba(20, 20, 20, 0.8); text-align:center; font-size:12px; padding:5px 0 10px 0; }
.news_item_title { width:100%; height:80px; float:left; background-color:rgba(30, 30, 30, 0.6); position:relative; border-bottom: 1px solid #3e4623; padding-left: 10px; box-sizing: border-box; }
.news_item_content { width:100%; height:auto; min-height:105px; position:relative; overflow: hidden; background-color: rgba(20, 20, 20, 0.8); border: 1px solid #2c3325; padding: 10px; box-sizing: border-box; }

.news_item_content img { width: 100%; max-width: 100%; height: auto; display: block; border: 1px solid #4a542b; } 

.title-copy-author { position: absolute; top: 20px; right: 10px; text-align: right; color: #8b9b4f; font-size: 12px; }
.title-copy-author-gallery { text-align: right; color: #8b9b4f; font-size: 12px; }

@media screen and (max-width: 360px) { .news_item_content img { max-width: 300px; } }
@media screen and (max-width: 800px) { .title-copy-author, .title-copy-author-gallery { display: none; } }	

.news_item_author { width:auto; height:30px; position:absolute; bottom:0; right:15px; color:#8b9b4f; font-size: 12px; }
.news_item_separator_w { width:100%; height:15px; }
.news_item_separator { width:100%; height:2px; background-color:transparent; border-bottom: 1px dashed #3e4623; }

.gallery_item { margin: 0 0 5px 0; text-align: center; }
.gallery_item img { width: 100%; max-width: 100%; height: auto; border: 1px solid #4a542b; display: block; margin: 0 auto; box-sizing: border-box; }
.gallery_item_details { text-align: center; width: 14%; height: 20px; float: left; font-size: 10px; overflow: hidden; color: #8b9b4f; }	

#preview, #preview-edit { width: 100%; max-width: 250px; height: auto; min-height: 300px; float: right; color: #cfd2d6 !important; text-align: center; text-transform: uppercase; margin: 15px 0 50px 0; border: 1px solid #3e4623; padding: 10px; background: rgba(20,20,20,0.8); }
#preview { display: none; }
#preview img, #preview-edit img { width: 100%; max-width: 300px; height: auto; max-height: 300px; border: 1px solid #4a542b; }

#ImageUploader, .MugShotUploader { width: 100%; max-width: 500px; height: auto; }
.MugShotUploader img { width: 100%; max-width: 300px; height: auto; max-height: 300px; border: 1px solid #4a542b; }

/* =========================================================
   Data Tables & Misc Extras
   ========================================================= */
.data { width: 100%; border-spacing: 0; font-size: 12px; color: #cfd2d6; margin: 0; background-color: rgba(20, 20, 20, 0.8); border: 1px solid #3e4623; }
.data thead th { color: #8b9b4f; border-bottom: 1px solid #4a542b; background: rgba(30,30,30,0.6); padding: 8px; text-transform: uppercase; }
.data td { border-left: 1px solid transparent; border-right: 1px solid transparent; border-top: 1px solid transparent; border-bottom: 1px solid #2a2a2a; padding: 8px; }
.bottom { border-bottom: hidden; }

input[type="checkbox"] { width: 15px; height: 15px; border: 1px solid #4a542b; background: rgba(20,20,20,0.8); }
.scroll_checkboxes { margin: 10px 0 5px 0; width: 100%; max-width: 550px; height: 550px; overflow-y: scroll; border: 1px solid #4a542b; background: rgba(20,20,20,0.8); color: #cfd2d6; padding: 10px; font-size: 13px; }
.scroll_checkboxes label { float: none; margin: 15px; }

.youtube { width: 60px; height: 60px; background: url("../images/youtube-grey-small.png") no-repeat; display: inline-block; filter: grayscale(100%) opacity(0.7); transition: all 0.2s; }
.youtube:hover { filter: none; opacity: 1; }
.admin-ta { margin: 0 0 15px 0; }

#LandingVideo { display: block; width:99%; height:auto; text-align: center; margin: 0 auto; z-index: 1; border: 1px solid #3e4623; }
@media screen and (max-width: 768px) {
    #LandingVideo { display: none; }
    .header-loop-video { display: none; }
}

.yt { width: 125px; height: 125px; border: 1px solid #4a542b; }

.blc-div { width: 100%; max-width: 600px; height: auto; margin: 0 auto; }
.blc-div textarea { width: 100%; max-width: 600px; height: 300px; font-size: 14px; background: rgba(20,20,20,0.8); color: #cfd2d6; border: 1px solid #4a542b; padding: 10px; font-family: 'Consolas', monospace; }
.blc-div input { margin: 0 auto; }

.bl_results { width: 100%; max-width: 600px; height: auto; margin: 0 auto; }
.bl_result { width: 100%; max-width: 600px; height: 30px; line-height: 80px; margin: 0 0 10px 0; }
.bl_player { width: 75%; max-width: 476px; height: 30px; float: left; border: 1px solid #3e4623; background: rgba(30,30,30,0.6); min-height: 75px; overflow: hidden; padding-left: 10px; }
.bl_status { width: 20%; max-width: 120px; height: 30px; float: left; border: 1px solid #3e4623; min-height: 75px; text-align: center; line-height: 75px; font-size: 12px; }
.bl_status_red { background-color: rgba(107, 122, 51, 0.4); color: #e0e0e0; }
.bl_status_green { background-color: rgba(139, 155, 79, 0.4); color: #e0e0e0; }

/* =========================================================
   Weather & Member Formatting Restored
   ========================================================= */
@media (min-width:320px) { 
	.weatherwrapper { width: 100%; max-width: 600px; height: auto; }
	.weatherhourly { width: 100%; max-width: 300px; height: 160px; border: 1px solid #3e4623; background: rgba(30,30,30,0.6); overflow: hidden; text-align: center; font-size: 12px; float: none; margin: 0 0 2px 0; }
	.weatherhourly img { margin: 5px; }
	.weatherboxcenter { width: 90px; height: 100%; overflow: hidden; line-height: 22px; text-align: center; margin: 0 auto; padding: 5px; color: #cfd2d6; }
	.weatherboxleft { width: 80px; height: 100%; overflow: hidden; line-height: 25px; text-align: left; float: left; padding: 5px; color: #8b9b4f; }
	.weatherboxright { width: 80px; height: 100%; overflow: hidden; line-height: 25px; text-align: right; float: right; padding: 5px; color: #8b9b4f; }
	
	.memberexpanded { width: 94%; height: 100%; overflow: hidden; }
	.membermugshot img { width: 50%; height: auto; max-height: 190px; border: 2px solid #4a542b; }	
	.gearexpanded { width: auto; max-width: 65%; height: 100%; float: none; }
	.gearbox { width: 100%; max-width: 240px; height: 150px; display: inline-block; border: 1px solid #4a542b; background: rgba(20,20,20,0.8); margin: 10px 5px 10px 0; float: left; position: relative; }
	.gearboxtitle { font-size: 14px; margin: 0; color: #8b9b4f; text-transform: uppercase; text-align: center; letter-spacing: 2px; line-height: 30px; border-bottom: 1px solid #2c3325; }
	.gearboxdetail { width: 100%; height: 59%; font-size: 12px; color: #cfd2d6; text-align: center; overflow: auto; display: block; padding-top: 10px; }
}

@media (min-width:481px) {
	.membermugshot { margin: 0; width: 100%; max-width: 240px; height: auto; border: 1px solid #4a542b; background: rgba(30,30,30,0.6); float: left; text-align: center; padding: 10px; }
	.membermugshot img { width: 75%; height: auto; max-height: 370px; border: 1px solid #3e4623; }	
	.gearboxdetail { width: 75%; height: 59%; font-size: 12px; color: #cfd2d6; text-align: center; overflow: auto; margin: 0 auto; display: block; }
}

@media (min-width:961px) { 
	.membermugshot { float: right; }
}

@media (min-width:1281px) { 
	.weatherwrapper { width: 100%; max-width: 1075px; height: auto; min-height: 490px; display: flex; flex-wrap: wrap; }
	.weatherhourly { width: 100%; max-width: 350px; height: 160px; float: left; margin: 5px; }
	.weatherboxcenter { width: 100px; }
	.weatherboxleft { width: 105px; }
	.weatherboxright { width: 105px; }
}

/* =========================================================
   NEW LANDING PAGE STYLES
   ========================================================= */
.hero-section {
    position: relative;
    width: 100%;
    height: 400px;
    background: url('../images/hero-bg.jpg') center/cover no-repeat; 
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 30px;
    border: 1px solid #4a542b;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(13, 13, 13, 0.75);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 20px;
}

.hero-content h1 {
    font-size: 40px !important;
    margin-bottom: 10px;
    color: #e0e0e0;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-shadow: 2px 2px 0px #2c3325;
}

.hero-content p {
    font-size: 16px;
    margin-bottom: 25px;
    color: #8b9b4f;
    letter-spacing: 1px;
}

/* Landing Grid Layout */
.landing-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
}

.events-section {
    flex: 2 1 600px; 
    background-color: rgba(30, 30, 30, 0.6);
    padding: 25px;
    border: 1px solid #3e4623;
    border-radius: 2px;
}

.event-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
}

.event-card {
    background-color: rgba(20, 20, 20, 0.8);
    border: 1px solid #2a2a2a;
    border-radius: 2px;
    display: flex;
    flex-direction: column;
    transition: all 0.2s;
}

.event-card:hover {
    border-color: #6b7a33;
    background-color: rgba(45, 52, 36, 0.4);
}

.event-card-header {
    background-color: rgba(107, 122, 51, 0.3);
    border-bottom: 1px solid #4a542b;
    padding: 10px;
    color: #8b9b4f;
}

.event-card-header h4 {
    margin: 0 !important;
    font-size: 16px !important;
    color: #e0e0e0;
}

.event-card-body {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.event-card-body p {
    margin: 5px 0;
    font-size: 13px;
    color: #cfd2d6;
}

.secondary-btn {
    margin-top: auto !important; 
    text-align: center;
    background: rgba(30,30,30,0.6);
    border: 1px solid #4a542b;
    color: #e0e0e0;
    padding: 8px;
    text-transform: uppercase;
    font-size: 12px;
}
.secondary-btn:hover { background: rgba(45, 52, 36, 0.6); border-color: #8b9b4f; }

.gear-section {
    flex: 1 1 300px;
    background-color: rgba(30, 30, 30, 0.6);
    padding: 25px;
    border: 1px solid #3e4623;
    border-radius: 2px;
    text-align: center;
}

.gear-card {
    background-color: rgba(20, 20, 20, 0.8);
    border: 1px solid #4a542b;
    border-radius: 2px;
    padding: 15px;
    color: #cfd2d6;
}

.gear-card p {
    color: #cfd2d6 !important;
    font-size: 13px;
}

.gear-img {
    width: 100%;
    max-width: 220px;
    border-radius: 2px;
    margin-bottom: 15px;
    border: 1px solid #3e4623;
}

/* =========================================================
   Team Loadout Grid Layout & Styling
   ========================================================= */
.team-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    max-width: 1705px;
    margin: 0 auto;
}

.team-member {
    background-color: rgba(20, 20, 20, 0.8);
    border: 1px solid #3e4623;
    border-radius: 2px;
    padding: 20px;
    width: 100%; 
    box-sizing: border-box;
    text-align: center;
    position: relative;
}
.team-member::before, .team-member::after {
    content: '';
    position: absolute;
    width: 6px; height: 6px;
    border: 1px solid transparent;
}
.team-member::before { top: -1px; left: -1px; border-top-color: #8b9b4f; border-left-color: #8b9b4f; }
.team-member::after { bottom: -1px; right: -1px; border-bottom-color: #8b9b4f; border-right-color: #8b9b4f; }

.team-member img {
    width: 100%;
    max-width: 320px; 
    height: auto;
    border: 1px solid #4a542b;
    margin: 0 auto 15px auto; 
    display: block;
    object-fit: cover;
}

.team-member h2 {
    color: #e0e0e0;
    margin: 0 0 15px 0;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 20px;
}

.team-member select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    background-color: rgba(10, 10, 10, 0.9);
    color: #cfd2d6;
    border: 1px solid #4a542b;
    font-size: 14px;
    border-radius: 2px;
    cursor: pointer;
    height: 45px; 
    text-transform: uppercase;
}

.team-member select:focus {
    outline: none;
    border-color: #8b9b4f;
}

.loadout-display {
    text-align: left;
    background-color: rgba(30, 30, 30, 0.6);
    padding: 15px;
    border-radius: 2px;
    min-height: 200px;
    max-height: 350px;
    overflow-y: auto;
    border: 1px solid #2c3325;
}

.loadout-display ul {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
}

.loadout-display li {
    margin-bottom: 6px;
    font-size: 12px;
    line-height: 1.4;
    color: #b0b0b0;
}

.loadout-display li strong {
    color: #cfd2d6;
    font-weight: normal;
}

.guns-list li {
    list-style-type: square;
    padding-left: 5px;
    margin-left: 15px;
    color: #8b9b4f;
}

.loadout-category {
    color: #6b7a33;
    font-size: 14px;
    margin-top: 15px !important;
    margin-bottom: 8px !important;
    border-bottom: 1px solid #3e4623;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 2px;
}

.loadout-display ul li:first-child.loadout-category {
    margin-top: 0 !important;
}

.hidden {
    display: none;
}

/* =========================================================
   Tutorial Page Elements
   ========================================================= */

.tutorial-nav-list {
    margin: 0 0 25px 0;
    padding: 0;
    list-style: none;
    overflow: hidden; 
}

.tutorial-nav-item {
    padding: 16px;
    margin: 0;
    display: block;
    float: left;
    font-size: 13px;
    color: #8b9b4f;
}

.tutorial-details-content {
    width: 98%;
    height: 100%;
    font-size: 13px;
    line-height: 1.6em;
    padding: 20px 10px 10px 10px;
    box-sizing: border-box;
    color: #cfd2d6;
}

.copy-tutorial-link {
    cursor: pointer;
    transition: color 0.2s ease;
    color: #8b9b4f;
}
.copy-tutorial-link:hover { color: #e0e0e0; }

/* =========================================================
   Submenu Navigation Styles
   ========================================================= */

.user-submenu-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 25px;
    padding: 12px;
    background-color: rgba(20, 20, 20, 0.8);
    border: 1px solid #3e4623;
    border-radius: 2px;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    background-color: rgba(30, 30, 30, 0.6);
    color: #cfd2d6;
    padding: 12px 20px;
    font-size: 13px;
    border: 1px solid #4a542b;
    border-radius: 2px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px; 
    font-family: inherit;
}

.dropbtn .caret {
    font-size: 10px;
    transition: transform 0.2s ease;
    color: #8b9b4f;
}

.dropdown:hover .dropbtn,
.dropbtn:focus {
    background-color: rgba(45, 52, 36, 0.6);
    color: #e0e0e0;
    border-color: #6b7a33;
}

.dropdown:hover .dropbtn .caret {
    transform: rotate(180deg);
}

.dropdown-content {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 100%; 
    left: 0;
    margin-top: 8px; 
    background-color: rgba(15, 15, 15, 0.95);
    min-width: 180px;
    border: 1px solid #4a542b;
    z-index: 100;
    transform: translateY(10px);
    transition: all 0.2s ease;
}

.dropdown-content::before {
    content: "";
    position: absolute;
    top: -15px; 
    left: 0;
    width: 100%;
    height: 15px;
    background: transparent;
}

.dropdown-content a {
    color: #cfd2d6;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 12px;
    border-bottom: 1px solid #2a2a2a;
    transition: background-color 0.2s ease, padding-left 0.2s ease, color 0.2s ease;
    text-transform: uppercase;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background-color: rgba(45, 52, 36, 0.6);
    color: #e0e0e0;
    padding-left: 22px; 
}

.dropdown:hover .dropdown-content,
.dropdown.active .dropdown-content {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================
   Submenu Mobile Responsiveness
   ========================================================= */
@media screen and (max-width: 768px) {
    .user-submenu-container {
        flex-direction: column;
        gap: 10px;
        padding: 15px;
    }

    .dropdown {
        width: 100%;
        display: block;
    }

    .dropbtn {
        width: 100%;
        justify-content: space-between; 
        padding: 15px 20px; 
    }

    .dropdown-content {
        position: static;
        width: 100%;
        box-shadow: none;
        border: none;
        border-left: 2px solid #6b7a33; 
        margin-top: 5px;
        background-color: rgba(10, 10, 10, 0.9);
        transform: none; 
        display: none; 
    }

    .dropdown-content::before {
        display: none;
    }

    .dropdown:hover .dropdown-content,
    .dropdown.active .dropdown-content {
        display: block;
        visibility: visible;
        opacity: 1;
    }
}

/* =========================================================
   Shared Admin Styles (Events, Banter, etc)
   ========================================================= */

.admin-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #3e4623;
}

.admin-header-flex h3 {
    margin: 0;
    color: #e0e0e0;
}

/* =========================================================
   Event History Timeline Styles
   ========================================================= */

.event-history-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.history-year-block {
    margin-bottom: 40px;
    background-color: rgba(30, 30, 30, 0.6);
    border-radius: 2px;
    padding: 20px;
    border: 1px solid #3e4623;
}

.history-year-title {
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #6b7a33; 
}

.history-year-title a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 20px;
    transition: color 0.2s ease;
    text-transform: uppercase;
}

.history-year-title a:hover {
    color: #8b9b4f;
}

.history-month-block {
    margin-bottom: 25px;
}

.history-month-block:last-child {
    margin-bottom: 0;
}

.history-month-title {
    color: #8b9b4f;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.history-event-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.history-event-item {
    display: flex;
    align-items: center;
    background-color: rgba(20, 20, 20, 0.8);
    margin-bottom: 8px;
    border: 1px solid #2a2a2a;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.history-event-item:hover {
    background-color: rgba(45, 52, 36, 0.6);
    border-left: 3px solid #6b7a33;
    border-color: #4a542b;
}

.event-date-badge {
    background-color: rgba(10, 10, 10, 0.9);
    color: #737373;
    padding: 12px 15px;
    font-size: 12px;
    min-width: 130px;
    text-align: right;
    font-family: inherit;
    border-right: 1px solid #2a2a2a;
}

.event-link {
    display: block;
    padding: 12px 15px;
    color: #cfd2d6;
    text-decoration: none;
    width: 100%;
    font-size: 13px;
}

.event-link:hover {
    color: #e0e0e0;
}

.back-to-top-container {
    text-align: center;
    margin-top: 30px;
    padding-bottom: 30px;
}

.btn-back-top {
    display: inline-block;
    background-color: rgba(30, 30, 30, 0.6);
    color: #cfd2d6;
    padding: 8px 20px;
    border: 1px solid #4a542b;
    text-decoration: none;
    font-size: 12px;
    transition: all 0.2s ease;
    text-transform: uppercase;
}

.btn-back-top:hover {
    background-color: rgba(45, 52, 36, 0.6);
    border-color: #8b9b4f;
    color: #e0e0e0;
}

@media screen and (max-width: 600px) {
    .history-event-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .event-date-badge {
        width: 100%;
        text-align: left;
        padding: 8px 15px;
        background-color: transparent;
        border-right: none;
        border-bottom: 1px solid #2a2a2a;
    }
}

/* =========================================================
   Events Page & Detail View Styles
   ========================================================= */

.event-page-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.event-featured-card {
    background-color: rgba(20, 20, 20, 0.8);
    border: 1px solid #3e4623;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 40px;
}

.featured-header {
    background-color: rgba(45, 52, 36, 0.6); 
    padding: 12px 20px;
    color: #8b9b4f;
    border-bottom: 1px solid #4a542b;
}

.featured-header h4 {
    margin: 0;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #e0e0e0;
}

.featured-body {
    display: flex;
    flex-wrap: wrap;
    padding: 25px;
    gap: 20px;
}

.featured-content {
    flex: 1;
    min-width: 250px;
}

.featured-content h2 {
    margin: 0 0 10px 0;
    font-size: 20px;
    border: none;
}

.featured-content h2 a {
    color: #e0e0e0;
    text-decoration: none;
}

.featured-content h2 a:hover {
    color: #8b9b4f;
}

.featured-date {
    font-size: 14px;
    color: #8b9b4f;
    margin-bottom: 20px;
}

.featured-image {
    flex: 0 0 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-image img {
    max-width: 100%;
    height: auto;
    border: 1px solid #4a542b;
}

.btn-secondary {
    background-color: rgba(30, 30, 30, 0.6);
    color: #cfd2d6;
    padding: 8px 15px;
    border: 1px solid #4a542b;
    border-radius: 2px;
    text-decoration: none;
    font-size: 12px;
    transition: all 0.2s ease;
    cursor: pointer;
    text-transform: uppercase;
}

.btn-secondary:hover {
    background-color: rgba(45, 52, 36, 0.6);
    border-color: #8b9b4f;
    color: #e0e0e0;
}

.event-detail-card {
    background-color: rgba(30, 30, 30, 0.6);
    border: 1px solid #3e4623;
    border-radius: 2px;
    overflow: hidden;
}

.detail-header {
    display: flex;
    padding: 20px;
    background-color: rgba(20, 20, 20, 0.8);
    border-bottom: 1px solid #4a542b;
}

.detail-date-badge {
    background-color: rgba(10, 10, 10, 0.9);
    border: 1px solid #4a542b;
    padding: 10px 15px;
    text-align: center;
    margin-right: 20px;
    min-width: 80px;
}

.detail-date-badge .day {
    display: block;
    font-size: 20px;
    color: #e0e0e0;
}

.detail-date-badge .month-year {
    font-size: 10px;
    color: #8b9b4f;
    text-transform: uppercase;
}

.detail-title-wrapper {
    flex: 1;
}

.detail-title-wrapper h1 {
    margin: 0 0 10px 0;
    font-size: 20px;
    color: #e0e0e0;
}

.detail-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.detail-body {
    padding: 30px;
    color: #cfd2d6;
    line-height: 1.6;
    font-size: 14px;
}

.detail-body a {
    color: #8b9b4f;
}

.weather-summary-box {
    background-color: rgba(20, 20, 20, 0.8);
    border-left: 2px solid #6b7a33;
    padding: 15px 20px;
    margin: 20px 0;
    border: 1px solid #4a542b;
    border-left-width: 4px;
}

.weather-summary-box h4 {
    margin-top: 0;
    color: #e0e0e0;
}

.weather-hourly-title {
    color: #e0e0e0;
    margin-top: 30px;
    border-bottom: 1px solid #4a542b;
    padding-bottom: 10px;
}

.weather-notice {
    color: #8b9b4f;
    background-color: rgba(10, 10, 10, 0.9);
    padding: 10px;
    border: 1px solid #2a2a2a;
    font-size: 12px;
}

@media screen and (max-width: 600px) {
    .detail-header {
        flex-direction: column;
    }
    .detail-date-badge {
        margin-right: 0;
        margin-bottom: 15px;
        display: inline-block;
        width: fit-content;
    }
    .detail-actions {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* =========================================================
   Gallery Admin Styles (Now Used System Wide)
   ========================================================= */

.gallery-admin-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0;
    color: #cfd2d6;
}

.admin-table-wrapper {
    background-color: rgba(20, 20, 20, 0.8);
    border: 1px solid #3e4623;
    overflow-x: auto;
    margin-bottom: 30px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 13px;
}

.admin-table th, 
.admin-table td {
    padding: 12px;
    border-bottom: 1px solid #2a2a2a;
}

.admin-table th {
    background-color: rgba(10, 10, 10, 0.9);
    color: #8b9b4f;
    font-weight: normal;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 1px;
    border-bottom: 1px solid #4a542b;
}

.admin-table tbody tr:hover {
    background-color: rgba(30, 30, 30, 0.6);
}

.admin-table .action-col {
    text-align: right;
    width: 100px;
}

.admin-card {
    background-color: rgba(30, 30, 30, 0.6);
    border: 1px solid #3e4623;
    padding: 25px;
    margin-bottom: 25px;
}

.admin-card h4 {
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #6b7a33; 
    font-size: 18px;
    color: #e0e0e0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #8b9b4f;
    font-size: 12px;
    text-transform: uppercase;
}

.form_input {
    width: 100%;
    padding: 10px;
    background-color: rgba(20, 20, 20, 0.8);
    border: 1px solid #4a542b;
    color: #cfd2d6;
    font-size: 13px;
    box-sizing: border-box;
    font-family: inherit;
}

.form_input:focus {
    border-color: #8b9b4f;
    outline: none;
}

.form_input[readonly] {
    background-color: rgba(10, 10, 10, 0.9);
    color: #737373;
    cursor: not-allowed;
    border-color: #2a2a2a;
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.btn-primary {
    background-color: rgba(45, 52, 36, 0.6);
    color: #e0e0e0;
    border: 1px solid #4a542b;
    padding: 8px 18px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
    font-family: inherit;
    text-transform: uppercase;
    font-size: 12px;
}

.btn-primary:hover { background-color: rgba(107, 122, 51, 0.6); border-color: #8b9b4f; }

.btn-cancel {
    background-color: transparent;
    color: #8b9b4f;
    padding: 8px 18px;
    text-decoration: none;
    transition: color 0.2s;
    font-size: 12px;
    text-transform: uppercase;
    border: 1px solid transparent;
}

.btn-cancel:hover { color: #e0e0e0; border: 1px solid #4a542b; background: rgba(30,30,30,0.6); }

.upload-flex {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 20px;
}

.file-input {
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid #4a542b;
    padding: 8px;
    color: #cfd2d6;
    flex-grow: 1;
    font-family: inherit;
    font-size: 12px;
}

.gallery-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.preview-item {
    background-color: rgba(20, 20, 20, 0.8);
    border: 1px solid #3e4623;
    overflow: hidden;
    position: relative;
}

.preview-img {
    height: 180px;
    background-size: contain; 
    background-position: center;
    background-repeat: no-repeat;
	position: relative;
    border-bottom: 1px solid #2a2a2a;
}

.btn-delete-img {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(10, 10, 10, 0.8);
    color: #b34d4d;
    border: 1px solid #b34d4d;
    border-radius: 2px;
    width: 25px;
    height: 25px;
    font-size: 16px;
    line-height: 23px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-delete-img:hover {
    background: #b34d4d;
    color: #e0e0e0;
}

.preview-label {
    padding: 10px;
    font-size: 10px;
    text-align: center;
    word-break: break-all;
    color: #8b9b4f;
    background-color: rgba(10, 10, 10, 0.9);
}

#empty-preview-msg {
    grid-column: 1 / -1;
    text-align: center;
    color: #737373;
    padding: 40px 0;
    font-size: 12px;
}

.admin-notice-error, .admin-notice-success {
    padding: 12px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 13px;
    text-transform: uppercase;
}

.admin-notice-error { background-color: rgba(179, 77, 77, 0.2); border: 1px solid #b34d4d; color: #b34d4d; }
.admin-notice-success { background-color: rgba(107, 122, 51, 0.2); border: 1px solid #6b7a33; color: #8b9b4f; }

select.form_input.select-fix {
    min-height: 40px;
    padding: 8px 12px;
    line-height: normal;
    -webkit-appearance: auto;
    -moz-appearance: auto;
    appearance: auto;
}

.form_input {
    box-sizing: border-box;
    line-height: 1.5;
}

/* =========================================================
   Reviews Admin Specific Styles
   ========================================================= */

.reviews-admin-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0;
    color: #cfd2d6;
}

.type-badge {
    background-color: rgba(20, 20, 20, 0.8);
    color: #8b9b4f;
    padding: 4px 10px;
    border-radius: 2px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid #4a542b;
}

.admin-ta {
    background-color: rgba(20, 20, 20, 0.8);
    border: 1px solid #4a542b;
    padding: 2px;
}

.admin-ta textarea.LoadEditor {
    background-color: transparent;
    color: #cfd2d6;
    border: none;
    padding: 15px;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 13px;
    line-height: 1.6;
    resize: vertical; 
}

.admin-ta textarea.LoadEditor:focus {
    outline: none;
    box-shadow: inset 0 0 0 1px #8b9b4f;
}

/* =========================================================
   Frontend Banter Page Styles
   ========================================================= */

.banter-page-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
    color: #cfd2d6;
}

.banter-page-header {
    text-align: center;
    margin-bottom: 40px;
}

.banter-page-header h1 {
    color: #e0e0e0;
    margin-bottom: 10px;
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.banter-page-header p {
    color: #8b9b4f;
    font-size: 13px;
}

.banter-card {
    background-color: rgba(30, 30, 30, 0.6);
    border: 1px solid #3e4623;
    margin-bottom: 30px;
    overflow: hidden;
}

.banter-header {
    background-color: rgba(20, 20, 20, 0.8);
    padding: 15px 20px;
    border-bottom: 1px solid #4a542b;
}

.banter-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.banter-author {
    color: #e0e0e0;
    font-size: 14px;
    text-transform: uppercase;
}

.banter-author::before {
    content: 'by: ';
    color: #8b9b4f; 
    margin-right: 2px;
}

.gml-gun-name {
    color: #e0e0e0;
    font-size: 14px;
    text-transform: uppercase;
}

.gml-gun-name::before {
    content: 'Gun: ';
    color: #8b9b4f; 
    margin-right: 2px;
}

.banter-date {
    color: #8b9b4f;
    font-size: 12px;
}

.banter-body {
    padding: 20px;
    line-height: 1.6;
    font-size: 14px;
    color: #cfd2d6;
}

.banter-media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2px; 
    background-color: #2a2a2a;
}

.banter-img-link {
    display: block;
    width: 100%;
}

.banter-img {
    max-width: 100%;
	height: auto; 
	display: block;
    background-size: cover;
    background-position: center;
    transition: opacity 0.2s ease;
}

.banter-img-link:hover .banter-img {
    opacity: 0.8;
}

@media screen and (max-width: 600px) {
    .banter-media-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   Main Navigation Account Dropdown 
   ========================================================= */

.nav-dropdown {
    float: left;
    overflow: hidden;
}

.nav-dropdown .nav-dropbtn {
    font-size: 13px;  
    border: none;
    outline: none;
    color: #cfd2d6;
    padding: 14px 16px;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background-color 0.2s;
    text-transform: uppercase;
}

.nav-dropdown .nav-dropbtn.active {
    background-color: #6b7a33; 
    color: white !important;
}

.nav-dropdown:hover .nav-dropbtn, .nav-dropbtn:focus {
    background-color: rgba(45, 52, 36, 0.6);
    color: #e0e0e0;
}

.nav-dropdown:hover .nav-dropbtn.active {
    color: white !important; 
}

.nav-dropdown-content {
    display: none;
    position: absolute;
    background-color: rgba(15, 15, 15, 0.95); 
    min-width: 200px;
    z-index: 1001; 
    border: 1px solid #4a542b;
    border-top: none;
}

.nav-dropdown-content::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 0;
    width: 100%;
    height: 10px;
}

.nav-dropdown-content a {
    float: none;
    color: #cfd2d6;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    border-bottom: 1px solid #2a2a2a;
    font-size: 12px;
    transition: background-color 0.2s ease, padding-left 0.2s ease, color 0.2s ease;
}

.nav-dropdown-content a:last-child {
    border-bottom: none;
}

.nav-dropdown-content a:hover {
    background-color: rgba(45, 52, 36, 0.6);
    color: #e0e0e0;
    padding-left: 22px; 
}

.nav-dropdown-header {
    display: block;
    padding: 12px 16px 4px 16px;
    font-size: 10px;
    color: #8b9b4f;
    text-transform: uppercase;
    letter-spacing: 1px;
    background-color: rgba(10, 10, 10, 0.9);
    border-bottom: 1px solid #2a2a2a;
}

.nav-dropdown:hover .nav-dropdown-content {
    display: block;
}

@media screen and (max-width: 1350px) {
    .topnav .nav-dropdown {
        display: none; 
    }
    
    .topnav.responsive .nav-dropdown {
        display: block;
        float: none;
        width: 100%;
    }
    
    .topnav.responsive .nav-dropbtn {
        display: flex;
        width: 100%;
        text-align: left;
        justify-content: space-between; 
        box-sizing: border-box;
    }
    
    .topnav.responsive .nav-dropdown-content {
        position: relative; 
        box-shadow: none;
        border: none;
        border-bottom: 1px solid #3e4623;
        background-color: rgba(10, 10, 10, 0.9); 
        width: 100%;
        display: none; 
    }
    
    .topnav.responsive .nav-dropdown-content a {
        padding-left: 30px; 
    }
    .topnav.responsive .nav-dropdown-header {
        padding-left: 20px;
    }
    
    .topnav.responsive .nav-dropdown-content::before {
        display: none;
    }

    .topnav.responsive .nav-dropdown-content.show-mobile {
        display: block;
    }
}

/* =========================================================
   Footage Admin Specific Styles
   ========================================================= */

.ftp-credentials {
    background-color: rgba(10, 10, 10, 0.9);
    border: 1px solid #4a542b;
    padding: 15px;
    color: #cfd2d6;
    line-height: 1.8;
    margin-top: 15px;
    font-size: 13px;
}
.ftp-credentials strong {
    color: #8b9b4f;
    display: inline-block;
    width: 85px;
}

.upload-drop-area {
    border: 1px dashed #4a542b;
    padding: 40px 20px;
    text-align: center;
    background-color: rgba(20, 20, 20, 0.8);
    transition: all 0.3s ease;
    cursor: pointer;
}
.upload-drop-area p {
    color: #8b9b4f;
    font-size: 14px;
    margin-bottom: 20px;
    text-transform: uppercase;
}
.upload-drop-area.highlight {
    border-color: #8b9b4f; 
    background-color: rgba(45, 52, 36, 0.4);
}
#progress-bar-container {
    width: 100%;
    max-width: 400px;
    height: 10px;
    background-color: rgba(10, 10, 10, 0.9);
    margin: 20px auto 0 auto;
    overflow: hidden;
    border: 1px solid #2a2a2a;
}
#progress-bar-fill {
    height: 100%;
    background-color: #8b9b4f;
    width: 0%;
    transition: width 0.2s ease;
}

.footage-stream-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-start;
}
.footage-sidebar {
    flex: 1 1 250px;
    max-width: 300px;
}
.footage-player {
    flex: 3 1 500px;
}

.video-file-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 500px;
    overflow-y: auto;
    border: 1px solid #3e4623;
    background: rgba(20,20,20,0.8);
    padding: 5px;
}
.video-file-list li {
    margin-bottom: 5px;
}
.video-file-list a {
    display: block;
    padding: 10px 15px;
    background-color: rgba(10, 10, 10, 0.9);
    border: 1px solid #2a2a2a;
    font-size: 12px;
    color: #cfd2d6;
    text-decoration: none;
    transition: background 0.2s;
    word-wrap: break-word;
}
.video-file-list a:hover {
    background-color: rgba(45, 52, 36, 0.6);
    color: #e0e0e0 !important;
    border-color: #4a542b;
}
.video-file-list a.active {
    background-color: #6b7a33;
    color: #fff !important;
    border-color: #8b9b4f;
}

.player-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px solid #3e4623;
    padding-bottom: 10px;
}
.player-header h4 {
    margin: 0;
    padding: 0;
    border: none;
    color: #e0e0e0;
}
.copy_text {
    font-size: 11px;
    color: #8b9b4f;
    background: rgba(20, 20, 20, 0.8);
    padding: 5px 10px;
    border: 1px solid #4a542b;
    cursor: pointer;
    transition: all 0.2s;
    text-transform: uppercase;
}
.copy_text:hover {
    background: rgba(45, 52, 36, 0.6);
    color: #e0e0e0;
}
.video-responsive-container {
    width: 100%;
    overflow: hidden;
    background: #000;
    border: 1px solid #3e4623;
}
.video-responsive-container video {
    width: 100%;
    height: auto;
    display: block;
}

@media screen and (max-width: 768px) {
    .footage-stream-layout {
        flex-direction: column-reverse;
    }
    .footage-sidebar {
        max-width: 100%;
    }
}

/* --- Gun Maintenance Log Custom Styles --- */

.btn-gml-add {
    display: block;
    width: 100%;
    height: auto; 
    padding: 12px;
    background: rgba(30, 30, 30, 0.6); 
    color: #e0e0e0;
    border: 1px solid #4a542b;
    font-size: 14px;
    cursor: pointer;
    text-align: center;
    margin-bottom: 20px;
    box-sizing: border-box;
    transition: background-color 0.2s ease;
    font-family: inherit;
    text-transform: uppercase;
}
.btn-gml-add:hover {
    background: rgba(45, 52, 36, 0.6);
    border-color: #8b9b4f;
}

.admin-ta textarea.gml-textarea {
    width: 100% !important;
    max-width: 100%;
    box-sizing: border-box;
    min-height: 200px;
    padding: 12px;
    font-family: inherit;
    resize: vertical; 
}

.gml-action-row {
    display: flex;
    flex-wrap: wrap; 
    gap: 10px;
    margin-top: 15px;
}

.gml-action-row button {
    flex: 1 1 auto; 
    padding: 10px 15px;
    white-space: nowrap; 
    min-width: 120px;
    font-size: 12px;
    cursor: pointer;
    font-family: inherit;
    background: rgba(30, 30, 30, 0.6);
    color: #cfd2d6;
    border: 1px solid #4a542b;
    text-transform: uppercase;
}
.gml-action-row button:hover {
    background: rgba(45, 52, 36, 0.6);
    color: #e0e0e0;
    border-color: #8b9b4f;
}

/* Lightbox Modal Base */
.lightbox-modal {
    display: none; 
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 10, 0.95); 
    align-items: center;
    justify-content: center;
}

/* Modal Image */
.lightbox-content {
    display: block;
    max-width: 90%;
    max-height: 85vh; 
    border: 1px solid #4a542b;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.9);
}

/* Close Button (The 'X') */
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #8b9b4f;
    font-size: 40px;
    font-family: monospace;
    transition: color 0.2s ease;
    cursor: pointer;
    user-select: none;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: #e0e0e0;
    text-decoration: none;
}