/* Dark Theme Styles */
* {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
}

/* Safe area variables */
:root {
    --safe-area-top: 0px;
    --safe-area-bottom: 0px;
}

body {
    font-family: sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background-color: #121212;
    padding: 20px;
    max-width: 900px;
    margin: 0 auto;
}

header {
    text-align: center;
    padding: 30px 0;
    margin-bottom: 30px;
    border-bottom: 0px solid #333;
}

/* Navigation Styles */
nav {
    width: 100%; /* Ensure full width */
    position: relative; /* For proper stacking */
    margin: 0;
    padding: 0;
}

nav ul {
    display: flex;
    justify-content: flex-start; /* Force left alignment */
    list-style: none;
    margin: 0;
    padding: 0px 0px; /* Add some vertical padding */
    width: 100%;
    max-width: 900px; /* Match your body max-width */
    margin: 0 auto; /* Center container while keeping content left-aligned */
}

nav li {
    padding: 0;
}

nav a {
    color: #b0b0b0;
    font-size: 1.1em;
    text-decoration: none;
    padding: 0em 0em; /* Clickable area */
    display: inline-block; /* Better than inline-flex for text */
    transition: color 0.3s ease;
    
}

nav a:hover {
    color: #ffffff;
}

.article-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.article-item {
    background: #1e1e1e;
    border-radius: 6px;
    padding: 25px;
    border: 1px solid #333;
}

.article-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #333;
    flex-wrap: nowrap;
}

.article-title {
    color: #ffffff;
    font-size: 1.5em;
    font-weight: 600;
}

.article-excerpt {
    color: #b0b0b0;
    font-size: 1em;
    line-height: 1.7;
}

.read-button {
    font-family: sans-serif;
    display: inline-block;
    background: #3a5c8a; /* Normal state color */
    color: white;
    padding: 8px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9em;
    transition: background-color 0.3s ease; /* Smooth color transition */
}

.read-button:hover {
    background: #2a4466; /* Darker shade for hover state */
    /* You could also use completely different colors like: */
    /* background: #8a3a3a; for a red hover effect */
}

footer {
    text-align: center;
    padding: 30px;
    margin-top: 50px;
    border-top: 1px solid #333;
    color: #a0a0a0;
    font-size: 0.9em;
}

.image-container {
    text-align: center;
    margin: 20px 0;
}

.responsive-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    width: 800px; /* Your ideal desktop size */
}


/* Image Wrapping Styles */
.pull-img-left {
    display: flex;
    float: left;
    width: 45%; /* Adjust as needed */
    padding: 15px;
    margin: auto;
    
}

.pull-img-right {
    display: flex;
    float: right;
    width: 45%;
    padding: 15px;
    margin: auto;
}

@media (max-width: 767px) {
    nav ul {
        flex-direction: column;
        padding-left: 10px;
        gap: 10px;
    }
    .responsive-image {
      width: 90%;
    }
    
    .pull-img-right {
        float: right;
    }
    .pull-img-left {
        float: left;
    }
    .pull-img-right,.pull-img-left {
        display: flex;
        width: 45%;
        padding: 15px;
        margin: auto;
    }
}

 /* Headers and paragraphs */
h1,h2,h3,h4,h5,h6 {
    color: #ffffff;
}
h1 {
    margin-bottom: 10px;
    letter-spacing: 1px;
    font-size: 2.0em;
}
h2 {
    margin-bottom: 0.2em;
    letter-spacing: 1px;
    font-size: 1.5em;
}
