/* General Layout */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ensure the body takes up the full height of the viewport */
    margin: 0;
}

.main-container {
    padding-top: 3%;
    padding-bottom: 3%;
    flex: 1; /* Allow the main content to grow and take up available space */
    display: flex;
}

/* Left Menu Container */
.left-menu {
    display: flex;
    flex-direction: column; /* Stack items vertically */
    gap: 15px; /* Add spacing between menu items */
    width: 70%; /* Reduce the size of the menu items to 70% */
    max-width: 220px; /* Limit the maximum width of the menu */
    margin-left: 4%; 
    margin-bottom: 20px;
    position: relative; /* Fix the menu to the left side of the screen */
}

/* Individual Menu Items */
.menu-item {
    position: relative;
    display: block;
    width: 100%;
    height: 138px; /* Reduce the height to 70% of the original (197px * 0.7) */
    overflow: hidden;
    text-decoration: none; /* Remove underline from links */
}

/* Menu Item Images */
.menu-item img {
    width: 100%; /* Make the image fill the container */
    height: 100%; /* Ensure the image covers the container */
    object-fit: cover; /* Maintain aspect ratio and cover the area */
    opacity: 0.675; /* Set image opacity to 50% */
}

/* Menu Item Text */
.menu-text {
    position: absolute;
    top: 50%; /* Position the text in the vertical center */
    left: 50%; /* Position the text in the horizontal center */
    transform: translate(-50%, -50%); /* Center the text */
    text-align: center;
    color: black;
    font-size: 18px; /* Reduce font size to 70% of the original (25px * 0.7) */
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1.2; /* Adjust line height for multi-line text */
    word-wrap: break-word;
    z-index: 1; /* Ensure text appears above the image */
}

/* Centered Content */
.center-content {
    flex: 1;
    margin: 20px auto;
    max-width: 800px;
    text-align: center;
    padding-left: 7%;
    padding-right: 7%;
}

.center-content p {
    font-size: 20px;
    line-height: 1.5;
    margin-bottom: 3%;
    text-align: justify;
}

.center-content h6 {
    text-align: left; /* Align the text to the left */
    margin: 20px 0 10px; /* Add spacing above and below the heading */
    font-size: 22px; /* Adjust font size */
    font-weight: bold; /* Make the text bold */
    color: #333; /* Set a darker color for better visibility */
}

/* Blog Posts */

.blog-post {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 3%;
    border-radius: 8px;
    background-color: #f9f9f9;
}

.blog-post img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
}

.blog-details {
    flex: 1;
    text-align: left;
}

.blog-details h2 {
    font-size: 18px;
    margin: 0 0 10px;
}

.blog-details h2 a {
    text-decoration: none;
    color: #0073e6;
}

.blog-details h2 a:hover {
    text-decoration: underline;
}

.blog-details p {
    font-size: 14px;
    color: #555;
}

.view-all-blogs {
    display: block; /* Make it a block element to align with the left */
    text-align: left; /* Align the text to the left */
    margin-top: 10px; /* Add some spacing above the link */
    font-size: 16px; /* Adjust font size */
    font-weight: normal; /* Use normal font weight */
    text-decoration: none; /* Remove underline */
}

.view-all-blogs:hover {
    text-decoration: underline; /* Add underline on hover for better UX */
    color: #005bb5; /* Slightly darker color on hover */
}

.right-menu {
    display: flex;
    flex-direction: column; /* Stack items vertically */
    margin-right: 4%;    
}

.right-menu h6 {
    text-align: left; /* Align the text to the left */
    margin: 20px 0 10px; /* Add spacing above and below the heading */
    font-size: 22px; /* Adjust font size */
    font-weight: bold; /* Make the text bold */
    color: #333; /* Set a darker color for better visibility */
}

/* Event Image Container */
.event-image-container {
    text-align: center; /* Center the image horizontally */
    margin-bottom: 20px; /* Add spacing below the container */
}

/* Event Image Placeholder */
.events-placeholder {
    width: 100%; /* Make the image responsive to the container */
    max-width: 300px; /* Set a maximum width for the image */
    height: auto; /* Maintain the aspect ratio */
    border-radius: 5px; /* Optional: Add rounded corners */
    margin-bottom: 10px; /* Add spacing below the image */
    display: block; /* Ensure the image behaves like a block element */
}

/* Zenodo Section */
#zenodoContent {
    width: 100%; /* Make the section responsive */
    max-width: 300px;
    margin-top: 0 auto;
    padding: 10px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
}

.zenodo-item {
    margin-bottom: 15px;
}

.zenodo-item h4 {
    font-size: 16px;
    margin: 0 0 5px;
}

.zenodo-item h4 a {
    text-decoration: none;
    color: #0073e6;
}

.zenodo-item h4 a:hover {
    text-decoration: underline;
}

.zenodo-item p {
    font-size: 14px;
    color: #555;
}