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

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    color: #222;
    background-color: #f8f9fb;
}

a {
    color: #0b7285;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

/* Header */

.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e1e4ea;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 0;
}

.logo .site-title {
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.main-nav a {
    font-size: 0.95rem;
    font-weight: 500;
}

/* Nav toggle */

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.nav-toggle .bar {
    width: 22px;
    height: 2px;
    background: #222;
}

/* Layout */

.site-main {
    padding: 1.5rem 0 2.5rem;
}

.content-full {
    display: block;
}

.content-with-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(220px, 1fr);
    gap: 2rem;
}

/* Hero */

.hero {
    background: #ffffff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
    margin-bottom: 1.8rem;
}

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

.hero p {
    font-size: 0.98rem;
}

/* Sections */

.main-content section {
    background: #ffffff;
    padding: 1.6rem 1.8rem;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
    margin-bottom: 1.6rem;
}

.main-content h1 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.main-content h2 {
    font-size: 1.3rem;
    margin: 1.2rem 0 0.8rem;
}

.main-content h3 {
    font-size: 1.1rem;
    margin: 1rem 0 0.6rem;
}

.main-content p {
    margin-bottom: 0.9rem;
    font-size: 0.96rem;
}

.main-content ul {
    margin: 0.4rem 0 1rem 1.3rem;
}

.main-content li {
    margin-bottom: 0.4rem;
}

/* Blog preview */

.blog-preview .post-preview {
    border-top: 1px solid #edf0f5;
    padding-top: 1rem;
    margin-top: 1rem;
}

.blog-preview .post-preview:first-of-type {
    border-top: none;
    margin-top: 0;
}

.post-preview h3 {
    margin-bottom: 0.4rem;
}

.post-preview p {
    margin-bottom: 0.4rem;
}

.read-more {
    display: inline-block;
    margin-top: 0.2rem;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Sidebar */

.sidebar {
    background: #ffffff;
    padding: 1.4rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
    align-self: flex-start;
}

.sidebar h3 {
    margin-bottom: 0.8rem;
}

.sidebar ul {
    list-style: none;
}

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

/* Contact */

.contact-details p {
    margin-bottom: 0.5rem;
}

/* Footer */

.site-footer {
    border-top: 1px solid #e1e4ea;
    background: #ffffff;
    padding: 1.2rem 0;
    font-size: 0.9rem;
}

.site-footer p + p {
    margin-top: 0.3rem;
}

/* Responsive */

@media (max-width: 768px) {
    .content-with-sidebar {
        grid-template-columns: 1fr;
    }

    .nav-toggle {
        display: flex;
    }

    .main-nav {
        position: absolute;
        top: 56px;
        right: 0;
        background: #ffffff;
        width: 100%;
        border-bottom: 1px solid #e1e4ea;
        display: none;
    }

    .main-nav.open {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        padding: 0.7rem 1.2rem 1rem;
        gap: 0.7rem;
    }
}
