@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@600;700&family=Inter:wght@400;500;600&display=swap');

:root {
    --primary-color: #3b82f6;
    /* A vibrant light blue */
    --primary-hover: #1d4ed8;
    --bg-color: #f8fafc;
    /* Light grey/blue background */
    --text-primary: #000000;
    --text-secondary: #4b5563;
    --border-color: #e2e8f0;
    --header-height: 70px;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

.container {
    max-width: 800px;
    /* Slimmer for readability like seroter.com */
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
header {
    height: var(--header-height);
    background: linear-gradient(to bottom, var(--primary-color), #2563eb);
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
}

header .container {
    width: 100%;
}

header nav {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: white !important;
}

.nav-links {
    display: flex;
    gap: 1.25rem;
    align-items: center;
}

.nav-links a {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.nav-links a:hover {
    color: white;
    transform: translateY(-1px);
    text-decoration: none;
}

/* Hero / Section Headers */
.hero {
    padding: 4rem 0 3rem;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* Post List (seroter.com style) */
.posts-list {
    margin-top: 2rem;
}

.post-entry {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.post-entry:first-child {
    border-top: 1px solid var(--border-color);
}

.post-entry h2 {
    font-size: 1.25rem;
    margin: 0;
    flex-grow: 1;
}

.post-entry h2 a {
    color: var(--text-primary);
}

.post-entry h2 a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.post-entry .post-info {
    flex-grow: 1;
}

.post-entry .excerpt {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
    line-height: 1.5;
    max-width: 600px;
}

.post-entry .date {
    font-size: 0.85rem;
    color: var(--text-secondary);
    white-space: nowrap;
    margin-left: 2rem;
}

/* Post Layout */
.post-header {
    padding: 4rem 0 2rem;
}

.post-header .date {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    display: block;
}

.post-header h1 {
    font-size: 2.75rem;
    margin-bottom: 1rem;
}

.post-content {
    font-size: 1.15rem;
    color: #1a1a1a;
}

.post-content p {
    margin-bottom: 1.75rem;
}

.post-content ul,
.post-content ol {
    margin-bottom: 1.75rem;
    padding-left: 1.25rem;
}

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

.post-content h2 {
    margin: 2.5rem 0 1rem;
    font-size: 1.75rem;
}

.post-content img {
    width: 100%;
    margin: 2rem 0;
}

footer {
    padding: 3rem 0;
    margin-top: 4rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-align: center;
}

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