/* --- Global Resets & Clean Fixed Wallpaper Background (Lights Removed) --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


font-face {
    font-family: 'Conduit ITC';
    /* Fixed: Points directly to your exact file name 'HandelGothic.ttf' visible on your dashboard */
    src: url("Conduit.ttf") format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    background-color: #030814;
    background-image: url('halo2.jpg'); 
    background-size: cover;
    background-position: center top; 
    background-repeat: no-repeat;
    background-attachment: fixed; 
    
    font-family: 'Conduit ITC', sans-serif; 
    color: #ffffff;
    padding: 12px;
}

/* --- Main Framework Wrapper Style --- */
.site-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    border: 4px double #4a75a0;
    background-color: rgba(10, 20, 38, 0.9);
    padding: 10px;
    box-shadow: 0px 0px 20px #1a3a60;
}

/* --- Header Banner Image Container Area --- */
.main-banner {
    border: 3px inset #7fa6cd;
    background: #0b182e;                 /* Flat fallback tone while image loads */
    padding: 0;                          /* Stripped text margins so the image sits flush */
    overflow: hidden;                    /* Prevents raw image corners from bleeding past borders */
    margin-bottom: 10px;                
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner-image {
    display: block;
    width: 100%;                         /* Forces the banner graphic to span edge-to-edge */
    height: auto;                        /* Maintains natural scale proportions */
    max-height: 220px;                   /* Prevents banner from dominating vertical screen space */
    object-fit: cover;                   /* Ensures clean cropping on responsive viewports */
}

.banner-title {
    font-size: 2.2rem;
    font-weight: bold;
    color: #e2efff;
    text-shadow: 3px 3px 0px #0b1b33, -1px -1px 0px #7fa6cd;
    letter-spacing: 2px;
}

/* --- Navigation Menu (Tightened Spacing Top and Bottom) --- */
.bubble-navigation {
    display: flex;
    justify-content: center;
    gap: 12px;                          
    flex-wrap: wrap;
    margin-bottom: 5px;                 /* Pulls the main content underneath up */
    padding: 1px 5px 5px 5px;           /* Reduced top padding from 5px to 2px to close the banner gap */
}


/* Local context tracker wrappers */
.dropdown-wrapper {
    position: relative;
    display: inline-block;
}

.nav-bubble {
    width: 120px;                       /* Widened width to create an elegant rectangle */
    height: 42px;                       /* Shorter height for tab layout appearance */
    border-radius: 4px;                 /* Clean, crisp micro-rounded corners instead of 50% circle */
    border: 3px outset #7fa6cd;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    font-family: "Courier New", Courier, monospace;
    font-weight: bold;
    font-size: 0.85rem;
    color: #ffffff;
    box-shadow: inset -2px -2px 8px rgba(0,0,0,0.6), 2px 2px 6px rgba(0,0,0,0.5);
    transition: transform 0.15s ease, filter 0.15s ease;
}

/* Color thematic linear-radial 3D glassy rectangle gradient treatments */
.bubble-1 { background: linear-gradient(to bottom, #3b6999 0%, #102540 100%); }
.bubble-2 { background: linear-gradient(to bottom, #3b6999 0%, #102540 100%); }
.bubble-3 { background: linear-gradient(to bottom, #3b6999 0%, #102540 100%); }
.bubble-4 { background: linear-gradient(to bottom, #3b6999 0%, #102540 100%); }

.nav-bubble:hover {
    transform: scale(1.05);             /* Clean tab hover click reaction */
    filter: brightness(1.2);
    border-style: inset;
}

.nav-bubble span {
    text-shadow: 1px 1px 2px #000;
    padding: 2px 4px;
}

/* --- Dropdown Submenu Floating Mechanics --- */
.submenu {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 44px;                          /* Suspended cleanly beneath the rectangular tab footer lines */
    left: 50%;
    transform: translateX(-50%) translateY(-5px);
    background-color: #091324;
    border: 2px solid #527da6;
    list-style: none;
    padding: 4px;
    width: 140px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.9);
    z-index: 999;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

/* CSS Hover Action Handlers */
.dropdown-wrapper:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.submenu li {
    border-bottom: 1px dashed #244163;
}

.submenu li:last-child {
    border-bottom: none;
}

.submenu a {
    display: block;
    color: #cbdcf0;
    text-decoration: none;
    font-size: 0.8rem;
    padding: 8px 6px;
    text-align: center;
}

/* Interactive focus menu feedback variants */
.bubble-1 + .submenu a:hover { background-color: #163254; color: #fff; }
.bubble-2 + .submenu a:hover { background-color: #102540; color: #fff; }
.bubble-4 + .submenu a:hover { background-color: #1f426e; color: #fff; }

/* --- Presentation Column Partition Grid --- */
.layout-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 15px;
}

@media (max-width: 768px) {
    .layout-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Structural Section Layout Panels --- */
.content-box {
    border: 2px solid #527da6;
    background-color: #0d1b30;
    margin-bottom: 12px;
    box-shadow: 4px 4px 0px #132742;
}

/* --- Wide Layout Panel --- */
.content-box-wide {
    width: 95%; /* Adjust percentage to fit your screen preference */
    max-width: 1400px; /* High limit to ensure the wide table has plenty of room */
    margin: 0 auto 12px auto; /* Centers the box on the page */
    border: 2px solid #527da6;
    background-color: #0d1b30;
    box-shadow: 4px 4px 0px #132742;
}

/* --- Match Content Box to Header Width --- */
.layout-full-width, 
.main-content-wide {
    width: 100%;
    max-width: 1000px; /* Adjust this number to match the exact pixel width of your header banner image */
    margin: 0 auto;    /* Centers the entire layout to keep it aligned with the header */
    padding: 0;        /* Removes inner side-spacing that causes shrinking */
}

.main-content-wide {
    width: 100%;
}



.box-header {
    background: linear-gradient(90deg, #1b3a61 0%, #335d91 100%);
    padding: 6px 10px;
    font-size: 1.15rem;
    color: #e2efff;
    border-bottom: 2px solid #527da6;
    text-shadow: 1px 1px 0px #000;
}

.box-body {
    padding: 12px;
    line-height: 1.45;
    font-size: 0.95rem;
}

.box-body p {
    margin-bottom: 10px;
}

.box-body a {
    color: #72a7de;
    text-decoration: underline;
}


/* --- Featured Magazine Component Integration Block --- */
.magazine-flex {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

@media (max-width: 540px) {
    .magazine-flex {
        flex-direction: column;
        align-items: center;
    }
    .magazine-thumbnail {
        margin-bottom: 8px;
    }
}

.magazine-thumbnail {
    width: 110px;
    height: 150px;
    background-color: #08101f;
    border: 2px solid #244163;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    box-shadow: inset 0px 0px 10px rgba(0,0,0,0.8);
}

.placeholder-text {
    font-size: 1.4rem;
    font-weight: bold;
    color: #4a75a0;
    letter-spacing: 2px;
}

.magazine-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.magazine-title {
    font-size: 1.05rem;
    color: #ffffff;
    font-weight: bold;
}

.magazine-description {
    font-size: 0.9rem;
    line-height: 1.35;
    color: #cbdcf0;
}

.magazine-link {
    display: inline-block;
    color: #a4c6eb !important;
    font-weight: bold;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-decoration: underline;
    margin-top: 2px;
}

.magazine-link:hover {
    color: #ffffff !important;
}


/* --- Logs and List Components --- */
.update-date {
    display: inline-block;
    color: #a4c6eb;
    border-bottom: 1px dashed #4a75a0;
    margin-bottom: 8px;
    font-weight: bold;
}

.bullet-list {
    margin-left: 18px;
    margin-top: 8px;
}

.bullet-list li {
    margin-bottom: 4px;
    list-style-type: square;
    color: #cbdcf0;
}


/* --- Sidebar Layout Blocks --- */
.sidebar-box {
    border: 2px solid #3d5e82;
    background-color: #091324;
    margin-bottom: 12px;
}

.sidebar-header {
    background-color: #162c47;
    padding: 5px 8px;
    font-size: 0.95rem;
    text-align: center;
    color: #cbdcf0;
    border-bottom: 2px solid #3d5e82;
    letter-spacing: 1px;
}

.sidebar-body {
    padding: 10px;
}

.central-flex {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
}

/* --- Interactive Archive Table Specifics --- */
.table-instruction {
    text-align: center;
    font-weight: bold;
    color: #cbdcf0;
    margin-bottom: 2px;
}

.sub-instruction {
    font-size: 0.75rem;
    color: #8daac9;
    margin-bottom: 12px;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
}

.archive-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 4px;
}

.archive-table th {
    background-color: #10243d;
    color: #ffffff;
    font-weight: bold;
    text-align: left;
    padding: 6px 8px;
    border: 1px solid #3d5e82;
}

.archive-table td {
    padding: 6px 8px;
    border: 1px solid #1e3654;
    color: #ffffff;
}

.archive-table tbody tr:nth-child(even) {
    background-color: rgba(16, 36, 61, 0.4);
}

.archive-table td a {
    color: #72a7de;
    text-decoration: underline;
}

/* --- Sidebar Logs & Checkbox Strikethroughs --- */
.sidebar-list {
    list-style-type: none;
}

.sidebar-list li {
    font-size: 0.75rem;
    line-height: 1.35;
    margin-bottom: 6px;
    position: relative;
    padding-left: 12px;
    color: #cbdcf0;
}

.sidebar-list li::before {
    content: "▪";
    position: absolute;
    left: 0;
    color: #4a75a0;
    font-size: 0.65rem;
}

/* Handlers for crossing items off the acquisition tracker backlog list */
.acquisition-list li.completed {
    text-decoration: line-through;
    color: #526b85;
}

.acquisition-list li.completed::before {
    color: #2b4154;
}


.bottom-chief-overlay {
    position: absolute !important;
    
    /* Anchors him relative to the right-hand sidebar boxes */
    bottom: -380px;         
    right: -5px;          
    
    /* Sizing constraints */
    width: auto;
    height: 350px;         
    
    /* CRITICAL FIX: STRIPS AWAY THE AUTOMATIC TEMPLATE OUTLINE AND BORDER LINES */
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    
    /* Forces him to sit above your links, lines, scrollbars, and backgrounds */
    z-index: 999999 !important;       
    
    /* Retro 2000s solid drop shadow theme */
    filter: drop-shadow(5px 5px 0px rgba(0, 0, 0, 0.4));
    
    /* Allows mouse clicks to pass straight through him so you can click hidden links */
    pointer-events: none; 
}

/* 2. Update your image class to clean up the double lines and match the container */
.left-arbiter-overlay {
  position: absolute; 
  left: -150;
  top: -250;
  width: auto;
  height: 300px;        
  filter: drop-shadow(5px 5px 0px rgba(0, 0, 0, 0.4));
  pointer-events: auto; /* Keep this auto so the parent container triggers the hover! */
  flex: none !important;      
  display: block !important;  
}
