* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #333;
    line-height: 1.6;
}

main {
    max-width: 1200px;
    margin: 20px auto;
    padding: 2rem 1.5rem;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    text-align: justify;
}

/* Header Info */
.info {
    margin-bottom: 2.5rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1.5rem;
}

    .info h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
        line-height: 1.3;
        color: #222;
    }

.meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    color: #666;
    font-size: 0.9rem;
}

    .meta time {
        color: #444;
    }

    .meta span {
        display: flex;
        align-items: center;
        gap: 0.4rem;
    }

    .meta i {
        font-size: 1rem;
    }

/* Post Content */
.post-content {
    margin-bottom: 2rem;
}

    .post-content p {
        margin-bottom: 0.1rem;
        /*font-size: 1.1rem;*/
        color: #444;
    }

    .post-content strong {
        color: #222;
        font-weight: 600;
    }

    .post-content h3 {
        font-size: 1.5rem;
        margin: 2rem 0 1rem;
        color: #222;
    }

    .post-content ul {
        margin: 1.5rem 0;
        padding-left: 1.5rem;
    }

    .post-content li {
        margin-bottom: 0.5rem;
    }

/* Blockquote */
blockquote {
    border-left: 4px solid #0066cc;
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    background: #f8fafc;
    font-style: italic;
}

    blockquote p {
        margin-bottom: 0.5rem;
        color: #555;
    }

    blockquote cite {
        display: block;
        text-align: right;
        font-style: normal;
        color: #666;
        font-size: 0.9rem;
    }

/* Tags */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

    .tags p {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 0.8rem;
    }

    .tags strong {
        color: #444;
    }

    .tags a {
        text-decoration: none;
        padding: 0.3rem 0.8rem;
        background: #e6f2ff;
        border-radius: 4px;
        font-size: 0.9rem;
        transition: all 0.2s ease;
    }

        .tags a:hover {
            background: #d0e4ff;
        }

/* Responsive Design */
@media (max-width: 768px) {
    main {
        padding: 1.5rem 1rem;
    }

    .info h1 {
        font-size: 1.7rem;
    }

    .meta {
        gap: 1rem;
        font-size: 0.85rem;
    }

    .post-content p {
        font-size: 1rem;
    }

    .post-content h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .info h1 {
        font-size: 1.5rem;
    }

    .meta {
        gap: 0.8rem;
        row-gap: 0.5rem;
    }

    .tags p {
        gap: 0.5rem;
    }

    .tags a {
        padding: 0.2rem 0.6rem;
        font-size: 0.85rem;
    }
}

/* Dark Mode Styles */

.dark-mode main {
    background-color: #1e1e1e;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.dark-mode .info h1,
.dark-mode .post-content strong,
.dark-mode .post-content h3 {
    color: #f8f9fa;
}

.dark-mode .post-content p,
.dark-mode .meta,
.dark-mode .meta time {
    color: #b0b0b0;
}

.dark-mode blockquote {
    background-color: #2d2d2d;
    border-left-color: #4dabf7;
}

    .dark-mode blockquote p {
        color: #d0d0d0;
    }

.dark-mode .tags a {
    background-color: #2d3a4d;
    color: #a5d8ff;
}

    .dark-mode .tags a:hover {
        background-color: #3a4d6b;
    }

/* SVG Icons in Dark Mode */
.dark-mode .theme-toggle svg,
.dark-mode .search svg {
    stroke: #e0e0e0;
}

.dark-mode .meta-icon {
    fill: #b0b0b0;
}
