/* --- RESET --- */
* {
    box-sizing: border-box; /* Crucial: padding won't break width */
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background-color: #fff;
    line-height: 1.5;
}

/* --- THE RAIL (ALIGNMENT) --- */
.container {
    max-width: 1000px; /* Fixed width for the content "rail" */
    margin: 0 auto;    /* Centers the rail on the screen */
    padding: 0 15px;   /* Small gap so text doesn't touch screen edges */
    width: 100%;
}

/* --- HEADER --- */
.header-white {
    padding: 30px 0;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #333;
}

.brand-blue {
    color: #008eb0;
}

/* --- NAV BAR --- */
.nav-black {
    background-color: #1a1a1a;
    width: 100%; /* Stretches the black bar across the whole screen */
}

.nav-list {
    display: flex;
    list-style: none;
    flex-wrap: nowrap; /* Keeps everything on one line */
}

.nav-list li {
    border-right: 1px solid #333;
}

.nav-list li a {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 15px 20px;
    font-size: 13px;
    font-weight: bold;
    white-space: nowrap; /* Prevents text from wrapping inside buttons */
}

.nav-list li a:hover {
    background-color: #2a2a2a;
}

/* --- CONTENT --- */
.main-content {
    padding-top: 40px;
}

.post-title {
    font-size: 24px;
    margin-bottom: 15px;
    color: #222;
}

.post-meta {
    background: #f4f4f4;
    padding: 10px 15px;
    font-size: 12px;
    border-top: 3px solid #008eb0;
    margin-bottom: 25px;
    color: #666;
}

.sep { margin: 0 10px; }

.featured-image img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 30px; /* Adds space before the next section starts */
}

.post-description {
    padding: 20px 0;
    font-size: 16px;
}

.post-description a {
    color: #008eb0;
    text-decoration: none;
}
/* Styling for specific blog sections */
.post-section {
    margin-top: 50px;
}

.section-title {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    /* This ensures it aligns with the rest of your text */
}

.post-description p {
    margin-bottom: 20px;
}
/* --- FOOTER --- */
.footer-black {
    background-color: #1a1a1a;
    color: #fff;
    padding: 60px 0 30px 0;
    margin-top: 50px;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: 40px;
}

.newsletter-brand h3 {
    font-size: 20px;
    font-weight: normal;
    letter-spacing: 1px;
}

.newsletter-text p {
    font-family: serif; /* Matches the slightly more formal look in the image */
    font-style: italic;
    font-size: 14px;
    color: #ccc;
    max-width: 200px;
}

/* Newsletter Form */
.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    background-color: #ccc;
    border: none;
    padding: 10px 15px;
    width: 250px;
    font-size: 14px;
    color: #333;
}

.newsletter-form button {
    background-color: #fff;
    color: #000;
    border: none;
    padding: 0 20px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: #888;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-text p {
        max-width: 100%;
    }

    .newsletter-form {
        width: 100%;
    }

    .newsletter-form input {
        flex: 1;
    }
}