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

body {
    background-color: #f9f9f9; /* Subtle off-white for elegance */
    color: #333333;
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 18px; /* Slightly larger for better readability */
    font-weight: normal;
    line-height: 1.8em;
    margin: 0;
    padding: 40px 20px; /* More generous padding for breathing room */
}

#container {
    max-width: 900px; /* Slightly wider for modern screens, but still constrained */
    margin: 0 auto;
    background-color: white;
    padding: 40px;
    border-radius: 8px; /* Soft corners for elegance */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); /* Subtle shadow for depth */
}

#headline {
    max-width: 600px;
    margin: 20px auto;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

#headline iframe {
    width: 100%;
    height: 150px; /* Increased height to avoid scrolling for short headlines */
    border: none;
}

@media (max-width: 768px) {
    #container {
        max-width: 100%;
        padding: 20px;
    }
    #headline {
        max-width: 100%;
        margin: 10px auto;
    }
    #headline iframe {
        height: 120px; /* Slightly smaller for mobile, still no scrolling */
    }
}

footer {
    text-align: center;
    font-size: 14px;
    color: #777;
    margin-top: 40px;
}

.blog {
    background-color: white;
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.post {
    width: 100%;
    margin: 20px auto;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee; /* Lighter border for subtlety */
}

.post:not(:last-of-type) {
    border-bottom: 1px solid #eee;
    padding: 20px 0;
}

.profile {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.profile .name {
    margin: 0 10px;
    font-weight: lighter;
    color: #555;
}

a {
    color: #00539B; /* Duke blue */
    text-decoration: none;
    transition: color 0.3s ease; /* Smooth hover transition */
}

a:hover,
a:active {
    color: #003087; /* Darker Duke blue on hover for interaction feedback */
}

.amazon {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    margin: 20px 0;
}

.amazon a {
    margin: 10px;
    font-size: 16px;
    padding: 8px 16px;
    background-color: #f5f5f5;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.amazon a:hover {
    background-color: #e0e0e0;
}

img {
    display: block;
    margin: 20px auto;
    max-width: 100%;
    height: auto;
    border-radius: 4px; /* Soft edges on images */
}

/* Enhanced typography for titles and text */
h1, h2, h3, h4 {
    font-family: 'Georgia', serif;
    font-weight: bold;
    color: #222;
    margin-bottom: 10px;
}

h2 {
    font-size: 28px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

p {
    margin-bottom: 20px;
}

.read-more {
    font-size: 14px;
    color: #777;
    margin-left: 10px;
}

.read-more:hover {
    color: #00539B; /* Duke blue for read-more hover */
}

/* Add some space and style to the header section */
header {
    text-align: center;
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

header h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

header p {
    font-style: italic;
    color: #555;
}
