/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #000000;
    background-color: #ffffff;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header Styles */
.site-header {
    background-color: #ffffff;
    padding: 2rem 0 1rem 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
    color: #000000;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 24px;
    width: auto;
}

.logo-text {
    color: #000000;
}

.main-nav {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    text-decoration: none;
    color: #000000;
    font-weight: 400;
}

.main-nav a:hover {
    text-decoration: underline;
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 200px);
    padding: 2rem 0;
}

/* Products Section */
.products-section {
    padding: 0;
    position: relative;
}


.products-heading {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.products-list {
    list-style: none;
}

.product-item {
    margin-bottom: 2rem;
}

.product-item:last-child {
    margin-bottom: 0;
}

.product-item strong {
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
}

.product-item strong a {
    color: #000000;
    text-decoration: none;
}

.product-item strong a:hover {
    text-decoration: underline;
}

.product-preview {
    color: #000000;
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 400;
    margin: 0;
}

/* Blog Section */
.blog-section {
    padding: 1rem 0;
    position: relative;
}

.blog-section::before {
    content: "···";
    display: block;
    text-align: center;
    color: #000000;
    font-size: 1rem;
    letter-spacing: 0.5em;
    margin: 2rem 0 1rem 0;
}

.blog-section::after {
    content: "···";
    display: block;
    text-align: center;
    color: #000000;
    font-size: 1rem;
    letter-spacing: 0.5em;
    margin: 2rem 0 1rem 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.blog-item {
    margin-bottom: 0;
}

.blog-item-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.blog-item-title a {
    color: #000000;
    text-decoration: none;
}

.blog-item-title a:hover {
    text-decoration: underline;
}

.blog-item-meta {
    color: #808080;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.blog-preview {
    color: #000000;
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 400;
    margin: 0;
}

/* About Section */
.about-section {
    padding: 1rem 0 2rem 0;
    margin-top: 0;
}

.about-content {
    max-width: 100%;
}

.about-content p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.6;
    color: #000000;
}

.about-content p:last-child {
    margin-bottom: 0;
}

/* Post Styles */
.post {
    padding: 2rem 0;
}

.post-header {
    margin-bottom: 3rem;
}

.post-title {
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    color: #000000;
    line-height: 1.2;
}

.post-meta {
    color: #808080;
    font-size: 0.9rem;
    text-decoration: none;
}

.post-content {
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.6;
}

.post-content h2 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-top: 3rem;
    margin-bottom: 1rem;
    color: #000000;
}

.post-content h3 {
    font-size: 1.25rem;
    font-weight: 400;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #000000;
}

.post-content p {
    margin-bottom: 1.5rem;
    color: #000000;
}

.post-content ul,
.post-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
    color: #000000;
}

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

.post-content a {
    color: #000000;
    text-decoration: underline;
}

.post-content a:hover {
    text-decoration: none;
}

.post-navigation {
    margin-top: 4rem;
    padding-top: 2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    text-decoration: none;
    font-weight: 400;
    font-size: 1rem;
    border: 1px solid #000000;
    background: #ffffff;
    color: #000000;
}

.btn:hover {
    background: #000000;
    color: #ffffff;
}

.btn-primary {
    background: #ffffff;
    color: #000000;
    border: 1px solid #000000;
}

.btn-primary:hover {
    background: #000000;
    color: #ffffff;
}

/* Posts Section */
.posts-section {
    padding: 0;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.post-item {
    margin-bottom: 0;
}

.post-item-title {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.post-item-title a {
    color: #000000;
    text-decoration: none;
}

.post-item-title a:hover {
    text-decoration: underline;
}

.post-item-meta {
    color: #808080;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.post-item-preview {
    color: #000000;
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 400;
}

/* Footer */
.site-footer {
    background-color: #ffffff;
    padding: 2rem 0;
    margin-top: 4rem;
    text-align: left;
}

.site-footer p {
    margin-bottom: 0.5rem;
    color: #000000;
    font-size: 0.9rem;
}

.site-footer a {
    color: #000000;
    text-decoration: underline;
}

.site-footer a:hover {
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .products-heading {
        font-size: 1.5rem;
    }

    .posts-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .post-item-title {
        font-size: 1.5rem;
    }

    .post-title {
        font-size: 2rem;
    }

    .main-nav {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .products-section,
    .about-section {
        padding: 0;
    }

    .product-item {
        margin-bottom: 1.5rem;
    }

    .post-item {
        margin-bottom: 3rem;
    }
}
