/* Minimal reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #e5e5e5;
    color: #333;
    font-family: "Times New Roman", Times, serif;
    font-size: 12px;
    line-height: 1.5;
    padding: 20px 0;
    zoom: 1.50;
}

a {
    color: #0044bb;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

#wrapper {
    width: 780px;
    margin: 0 auto;
    background-color: #ffffff;
    border: 1px solid #ccc;
    border-radius: 8px 8px 0 0;
}

#header {
    background: linear-gradient(to bottom, #4a75a5, #88aacc);
    color: white;
    height: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    border-radius: 7px 7px 0 0;
    border-bottom: 4px solid #fff;
    /* Slight separation */
}

#header .logo h1 {
    font-family: "Times New Roman", Times, serif;
    font-size: 36px;
    font-weight: normal;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    margin-bottom: 2px;
}

#header .logo p {
    font-family: "Times New Roman", Times, serif;
    font-size: 16px;
    font-style: italic;
    color: #f0f0f0;
}

#header .header-image img {
    display: block;
    width: 70px;
    height: 70px;
    object-fit: cover;
    border: 1px solid #335577;
}

.section-img {
    max-width: 100%;
    height: auto;
    margin: 12px 0;
    border: 1px solid #ccc;
}



#content {
    display: flex;
    padding: 25px 30px;
}

#main-column {
    width: 70%;
    padding-right: 40px;
}

#sidebar {
    width: 30%;
    font-size: 11px;
}

/* Posts */
.post {
    margin-bottom: 40px;
}

.post h2 {
    font-family: "Times New Roman", Times, serif;
    font-size: 18px;
    font-weight: normal;
    margin-bottom: 3px;
}

.post h2 a {
    color: #000;
}

.post h2 a:hover {
    color: #0044bb;
    text-decoration: none;
}

.post .meta {
    color: #999;
    font-size: 10px;
    margin-bottom: 15px;
    border-bottom: 1px dotted #ccc;
    padding-bottom: 5px;
}

.post .entry {
    color: #333;
}

.post .entry p {
    margin-bottom: 15px;
}

.post .post-footer {
    background-color: #f9f9f9;
    border: 1px solid #eee;
    padding: 5px 10px;
    text-align: center;
    font-size: 10px;
    color: #666;
    margin-top: 15px;
}

.warning {
    color: red;
    text-align: center;
    font-weight: bold;
    font-size: 1.2em;
    margin: 20px 0;
}

.center {
    text-align: center;
}

/* Sidebar Widgets */
.widget {
    margin-bottom: 25px;
}

.widget form {
    display: flex;
    gap: 5px;
}

.widget input[type="text"] {
    flex: 1;
    border: 1px solid #ccc;
    padding: 2px 4px;
    font-size: 11px;
    font-family: "Times New Roman", Times, serif;
}

.widget input[type="submit"] {
    border: 1px solid #ccc;
    background-color: #eee;
    padding: 2px 6px;
    font-size: 11px;
    font-family: "Times New Roman", Times, serif;
    cursor: pointer;
}

.widget h3 {
    font-family: "Times New Roman", Times, serif;
    font-size: 13px;
    font-weight: bold;
    color: #000;
    margin-bottom: 8px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 3px;
}

.widget ul {
    list-style-type: none;
}

.widget ul li {
    margin-bottom: 4px;
    padding-left: 10px;
    position: relative;
}

.widget ul li::before {
    content: "»";
    position: absolute;
    left: 0;
    color: #88aacc;
    font-size: 12px;
}

/* Footer */
#footer {
    text-align: center;
    padding: 20px;
    color: #666;
    font-size: 10px;
    border-top: 1px solid #e0e0e0;
}

/* Responsive adjustments for Tablets and Mobile */
@media screen and (max-width: 800px) {
    body {
        zoom: 1; /* Reset zoom on mobile to prevent overflow */
        padding: 0; /* Remove body padding on small screens */
    }
    
    #wrapper {
        width: 100%;
        border-radius: 0;
        border-left: none;
        border-right: none;
        border-top: none;
    }
    
    #header {
        height: auto;
        padding: 20px;
        flex-direction: column;
        align-items: flex-start;
        border-radius: 0;
    }
    
    #header .logo h1 {
        font-size: 28px;
    }
    
    #header .logo p {
        font-size: 14px;
        margin-bottom: 10px;
    }
    
    #content {
        flex-direction: column;
        padding: 20px;
    }
    
    #main-column {
        width: 100%;
        padding-right: 0;
    }
    
    #sidebar {
        width: 100%;
        margin-top: 20px;
        border-top: 1px dotted #ccc;
        padding-top: 25px;
    }
}