/* Basic Reset & Body Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; /* Common system font stack */
    line-height: 1.6;
    color: #333; /* Dark gray text */
    background-color: #fff; /* White background */
}

/* Centered Container for content */
.top-nav .nav-container,
.main-wrapper {
    max-width: 960px; /* Adjust max width as needed */
    margin: 0 auto; /* Centers the content */
    padding: 0 20px; /* Padding on the sides */
}

/* Header Navigation Styles */
.top-nav {
    padding: 15px 0;
    border-bottom: 1px solid #eee; /* Light border */
    margin-bottom: 30px;
}

.top-nav .nav-container {
    display: flex;
    justify-content: space-between; /* Pushes logo and nav apart */
    align-items: center;
}

.nav-logo {
    font-weight: bold;
    font-size: 1.1em;
}

.top-nav nav ul {
    list-style: none;
    display: flex;
}

.top-nav nav ul li {
    margin-left: 20px; /* Spacing between nav items */
}

.top-nav nav ul li a {
    text-decoration: none;
    color: #555; /* Slightly lighter gray for nav links */
}

.top-nav nav ul li a:hover {
    color: #000; /* Darken on hover */
    text-decoration: underline;
}

/* Main Layout - Two Columns using Flexbox */
.main-wrapper {
    display: flex;
    gap: 40px; /* Space between sidebar and main content */
}

.sidebar {
    flex: 0 0 200px; /* Sidebar width: doesn't grow, doesn't shrink, base width 200px */
    /* border-right: 1px solid #eee; /* Optional separator */
    /* padding-right: 20px; */
}

.content {
    flex: 1; /* Main content takes remaining space */
    min-width: 0; /* Prevents content overflow issues in flex */
}

/* Sidebar Specific Styles */
.sidebar img {
    max-width: 100%;
    height: auto;
    border-radius: 50%; /* Makes the image round */
    margin-bottom: 15px;
    display: block; /* Helps with spacing */
}

.sidebar h3 {
    margin-bottom: 5px;
    font-size: 1.1em;
}

.sidebar p {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 15px;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    font-size: 0.9em;
}

.sidebar ul li {
    margin-bottom: 8px;
    display: flex; /* Align icon and text */
    align-items: center;
}

.sidebar ul li .icon {
    margin-right: 8px; /* Space between icon and text */
    width: 16px; /* Give icon some space */
    display: inline-block;
    text-align: center;
}

.sidebar ul li a {
    text-decoration: none;
    color: #333;
}

.sidebar ul li a:hover {
    text-decoration: underline;
}

/* Main Content Specific Styles */
.content h1 {
    font-size: 1.8em; /* Larger name heading */
    margin-bottom: 15px;
    border-bottom: 1px solid #eee; /* Separator line */
    padding-bottom: 10px;
}

.content h2 {
    font-size: 1.4em;
    margin-top: 30px; /* Space above section headings */
    margin-bottom: 15px;
    border-bottom: 1px solid #eee; /* Separator line */
    padding-bottom: 5px;
}

.content p {
    margin-bottom: 15px;
}

.content a {
    color: #007bff; /* Standard link blue */
    text-decoration: none;
}

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

.content ul {
    list-style: disc; /* Default bullets */
    margin-left: 20px; /* Indent list */
    margin-bottom: 15px;
}

.content ul li {
    margin-bottom: 8px;
}

/* Footer Styles (Optional) */
footer {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    font-size: 0.9em;
    color: #888;
    border-top: 1px solid #eee;
}

/* Basic Responsiveness: Stack columns on smaller screens */
@media (max-width: 768px) {
    .main-wrapper {
        flex-direction: column; /* Stack sidebar and content vertically */
        gap: 20px;
    }

    .sidebar {
        flex-basis: auto; /* Allow sidebar to take full width */
        width: 100%;
        border-right: none; /* Remove sidebar border */
        padding-right: 0;
        text-align: center; /* Center sidebar content */
    }
     .sidebar img {
        margin-left: auto;
        margin-right: auto; /* Center image */
        max-width: 150px; /* Control image size */
    }
     .sidebar ul {
        display: inline-block; /* Center list items */
        text-align: left;
    }

     .top-nav .nav-container {
        flex-direction: column; /* Stack logo and nav */
        gap: 10px;
    }
     .top-nav nav ul {
        justify-content: center; /* Center nav items */
        flex-wrap: wrap; /* Allow nav items to wrap */
    }
     .top-nav nav ul li {
         margin: 0 10px; /* Adjust spacing */
     }
}

#emailUnscrambleLink span.contact-icon-emoji {
    margin-right: 5.65px; /* TWEAK THIS VALUE: Increase or decrease for desired space */
}