    body {
    background: rgb(237, 239, 240);
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* HEADER */
#header h1 {
    background: rgb(236, 204, 145);
    padding: 10px;
    margin: 0;
    text-align: center;
}

/* NAVIGATION */
#menu {
    background: rgb(227, 238, 166);
    padding: 5px 0;
}

#menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
}

#menu ul li {
    display: inline-block;
    margin: 0 10px;
}

#menu ul li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

/* MAIN CONTENT + SIDEBAR */
#main {
    display: flex;
    align-items: flex-start;
    margin: 10px;
}

#content {
    flex: 3;
    background: white;
    padding: 15px;
    margin-right: 10px;
    border-radius: 8px;
}

#sidebar {
    flex: 1;
    background: lightblue;
    padding: 15px;
    border-radius: 8px;
}


/* -------------------------------- */
/* HEADER FLEX LAYOUT */
.header-flex {
    display: flex;
    align-items: center;
    justify-content: center; /* Centers the title overall */
    background: rgb(236, 204, 145);
    padding: 10px 20px;
    position: relative; /* Allows absolute positioning of the date */
}

.header-left {
    position: absolute;
    left: 20px; /* keeps it on the left side */
    font-weight: bold;
    color: #333;
}

.header-title {
    margin: 0;
    text-align: center;
    flex: 1;
    font-size: 1.8em;
}
/* ---------------- */
/* FLEX LAYOUT FOR NAVIGATION */
.menu-flex {
    display: flex;
    justify-content: center; /* Center items horizontally by default */
    align-items: center;
    position: relative;
}

/* LEFT MENU CENTERED */
.menu-left {
    display: flex;
    justify-content: center;
    flex: 1; /* Makes it take up available space */
}

.menu-left li {
    margin: 0 15px;
}

/* RIGHT MENU ON FAR RIGHT */
.menu-right {
    position: absolute;
    right: 20px; /* Keep it fixed on the right */
    top: 50%;
    transform: translateY(-50%);
    list-style: none;
}

.menu-right li {
    display: inline-block;
}

.menu-right a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

 /* ------------for sidebar ----------------------- */

 #sidebar {
    width: 25%;
    padding: 20px;
}

.sidebar-section {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
}

.search-box form {
    display: flex;
    gap: 8px;
}

.search-input {
    flex: 1;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.search-btn {
    background: #007bff;
    color: #fff;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
}

.search-btn:hover {
    background: #0056b3;
}

.sidebar-gap {
    height: 20px;
}

.recent-posts ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recent-posts li {
    margin-bottom: 8px;
}

.recent-posts a {
    color: #333;
    text-decoration: none;
}

.recent-posts a:hover {
    text-decoration: underline;
}

#social-links li{
    display: flex;
  
}

/* FOOTER */
#footer {
    background: orange;
    text-align: center;
    padding: 10px 0;
    margin-top: 10px;
    border-radius: 8px;
}

#social-links,
#social-links ul,
#social-links ul li {
    display: inline;          /* Make all elements inline */
}

#social-links ul {
    padding: 0;
    margin: 0;
}
#social-links u {
    margin-left: 10px; 
}

#social-links ul li {
    margin-left: 5px;         /* small spacing between icons */
}

