/*global + main page styles*/
/*--------------------------------------------------------------------------------------------------*/
body {
    /*background-color: #e6e8ea;*/
    margin: 0;
    font-family: Arial, sans-serif;
}

/* Upper navigation bar */
.navbar {
    background-color: #0b2a5b; /* navy blue */
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
}

/* Heading aligned to the left */
.logo {
    font-size: 24px;
    font-weight: bold;
}

/* Navigation buttons aligned to the right */
.nav-buttons {
    display: flex;
    gap: 15px;
}

/* Untouched buttons */
.nav-buttons a {
    text-decoration: none;
    color: white;
    border: 2px solid white;
    padding: 8px 16px;
    border-radius: 8px;
    transition: 0.3s;
}

/* Hover effect */
.nav-buttons a:hover {
    background-color: white;
    color: #0b2a5b;
}
/* Grid of tiles */
.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 30px;
}

/* Tiles */
.tile {
    border: 2px solid #0b2a5b;
    border-radius: 12px;
    color: #0b2a5b;
    text-decoration: none;
    transition: 0.3s;

    display: flex;
    overflow: hidden;
}

.tile .text {
    flex: 3;
    padding: 20px;
}

.tile .image {
    flex: 2;
    position: relative;
}

.tile .image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hover effect */
.tile:hover {
    background-color: #0b2a5b;
    color: white;
}

.tile h2 {
    margin-top: 0;
}

.tile h3 {
    margin: 0;
    font-size: 1rem;
    /*font-weight: normal;*/
}

.tile ul {
    list-style-type: disc;
    padding-left: 14px;
    margin-top: 6px;
    margin-bottom: 6px;
}

.tile li {
    margin-bottom: 10px;
}
/*
a {
    text-decoration: none;
    /*color: inherit;
}
*/

/* weekly reports styles */
/*--------------------------------------------------------------------------------------------------*/
.week_page .content {
    max-width: 820px;
    margin: 0 auto;
    padding: 0px 0px;
    text-align: justify;
}

.week_page .content figure {
    text-align: center;
    margin: 1em 0;
}

.code-box {
  max-height: 300px;
  overflow-y: auto;
  background: #e1e1e1;
  padding: 12px;
  border-radius: 8px;
  font-family: monospace;
  font-size: 14px;
}

.code-box .hljs {
    background: transparent;
    padding: 0;
}

/* Tabs container */
/*.code-tabs {
    margin: 30px;
}*/

/* Tab bar */
/*.tab-buttons {
    display: flex;
    border-bottom: 2px solid #0b2a5b;
}*/

/* Tab look */
.tab-btn {
    background: #e1e1e1;
    border: 2px solid #0b2a5b;
    border-bottom: none;
    padding: 8px 16px;
    cursor: pointer;
    border-radius: 8px 8px 0 0;
    margin-right: 5px;
    color: #0b2a5b;
}

/* Active tab */
.tab-btn.active {
    background: white;
    font-weight: bold;
    position: relative;
    top: 2px;
}

/* Content */
.tab-content {
    display: none;
    border: 2px solid #0b2a5b;
    border-radius: 0 8px 8px 8px;
    padding: 8px;
}

.attachments {
    background: #e1e1e1;
    border-radius: 8px;
    padding: 12px 16px;
    margin: 1em 0;
}

.attachments ul {
    margin: 0;
    padding-left: 20px;
}

.attachments li {
    margin: 8px 0;
}

.attachments a {
    color: #0b2a5b;
    text-decoration: none;
    font-weight: bold;
}

.attachments a:hover {
    text-decoration: underline;
}