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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background: #f0f4f8;
}

header {
    background: #2c5282;
    color: white;
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.4rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: #bee3f8;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: white;
}

main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem;
}

.hero {
    text-align: center;
    padding: 3rem 1rem;
    background: linear-gradient(135deg, #2c5282 0%, #3182ce 100%);
    border-radius: 16px;
    color: white;
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

.featured-posts {
    margin-bottom: 2rem;
}

.featured-posts h2 {
    color: #2c5282;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.post-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.category {
    display: inline-block;
    background: #bee3f8;
    color: #2c5282;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.post-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: #1a202c;
}

.post-card h3 a {
    color: inherit;
    text-decoration: none;
}

.post-card h3 a:hover {
    color: #3182ce;
}

.post-card p {
    color: #718096;
    margin-bottom: 1rem;
}

.read-more {
    color: #3182ce;
    font-weight: 600;
    text-decoration: none;
}

.read-more:hover {
    text-decoration: underline;
}

.newsletter {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
}

.newsletter h3 {
    color: #2c5282;
    margin-bottom: 0.5rem;
}

.newsletter p {
    color: #718096;
    margin-bottom: 1rem;
}

.newsletter form {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.newsletter input {
    padding: 0.75rem 1rem;
    border: 2px solid #bee3f8;
    border-radius: 8px;
    font-size: 1rem;
    width: 250px;
}

.newsletter button {
    background: #2c5282;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    font-weight: 600;
}

.newsletter button:hover {
    background: #3182ce;
}

.post {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    max-width: 800px;
    margin: 0 auto 2rem;
}

.post .category {
    margin-bottom: 0.5rem;
}

.post h1 {
    font-size: 2rem;
    color: #2c5282;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.post .meta {
    color: #718096;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.post h2 {
    color: #2c5282;
    margin: 1.5rem 0 0.75rem;
    font-size: 1.4rem;
}

.post h3 {
    color: #2d3748;
    margin: 1.25rem 0 0.5rem;
    font-size: 1.15rem;
}

.post p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.post ul, .post ol {
    margin: 1rem 0 1rem 1.5rem;
}

.post li {
    margin-bottom: 0.5rem;
}

.post table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.post th, .post td {
    padding: 0.75rem;
    border: 1px solid #bee3f8;
    text-align: left;
}

.post th {
    background: #ebf8ff;
    color: #2c5282;
    font-weight: 600;
}

.post td {
    background: #f0f7ff;
}

.post a {
    color: #3182ce;
    text-decoration: underline;
}

.post a:hover {
    color: #2c5282;
}

.post .affiliate-disclosure {
    margin-top: 2rem;
    padding: 1rem;
    background: #ebf8ff;
    border-radius: 8px;
    font-size: 0.85rem;
    color: #718096;
}

.archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.archive-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.archive-card h3 {
    margin-bottom: 0.5rem;
}

.archive-card h3 a {
    color: inherit;
    text-decoration: none;
}

.archive-card h3 a:hover {
    color: #3182ce;
}

footer {
    text-align: center;
    padding: 2rem;
    background: #2c5282;
    color: white;
    margin-top: 2rem;
}

footer a {
    color: #90cdf4;
}

footer .affiliate-disclaimer {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
    }
    .hero h1 {
        font-size: 1.8rem;
    }
    .posts-grid {
        grid-template-columns: 1fr;
    }
}