/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #6badff; /* Solid background color as requested */
    min-height: 100vh;
}

a {
    color: #4285f4;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #3367d6;
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
}

/* Site header */
.site-header {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.site-header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.site-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.site-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
}

.site-nav a {
    color: #666;
    font-weight: 500;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.site-nav a:hover {
    color: #4285f4;
    border-bottom-color: #4285f4;
    text-decoration: none;
}

/* Main content */
.site-main {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    min-height: calc(100vh - 200px);
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    margin-top: 20px;
    margin-bottom: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

/* Posts listing */
.posts {
    display: grid;
    gap: 40px;
}

.post {
    border-bottom: 1px solid #eee;
    padding-bottom: 40px;
}

.post:last-child {
    border-bottom: none;
}

.post-image-link {
    display: block;
    margin-bottom: 20px;
}

.post-image {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 8px;
}

.post-title {
    font-size: 28px;
    margin-bottom: 10px;
    line-height: 1.3;
}

.post-title a {
    color: #333;
    font-weight: 600;
}

.post-title a:hover {
    color: #4285f4;
    text-decoration: none;
}

.post-excerpt {
    color: #666;
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.5;
}

.post-meta {
    color: #999;
    font-size: 14px;
    display: flex;
    gap: 15px;
    align-items: center;
}

.reading-time::before {
    content: "•";
    margin-right: 5px;
}

/* Article styles */
.article {
    max-width: 800px;
    margin: 0 auto;
}

.article-header {
    margin-bottom: 40px;
    text-align: center;
}

.article-title {
    font-size: 36px;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 700;
    color: #333;
}

.article-excerpt {
    font-size: 18px;
    color: #666;
    margin-bottom: 20px;
    font-style: italic;
}

.article-meta {
    color: #999;
    font-size: 14px;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    gap: 15px;
    align-items: center;
}

.article-authors a {
    color: #666;
    font-weight: 500;
}

.article-authors a:hover {
    color: #4285f4;
}

.article-image {
    margin: 30px 0;
    text-align: center;
}

.article-image img {
    max-width: 600px;
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.article-image figcaption {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-top: 10px;
    font-style: italic;
}

.article-content {
    font-size: 18px;
    line-height: 1.7;
    color: #333;
}

.article-content h1 {
    font-size: 32px;
    margin: 40px 0 20px;
    color: #333;
    font-weight: 700;
}

.article-content h2 {
    font-size: 28px;
    margin: 40px 0 20px;
    color: #4285f4;
    font-weight: 600;
}

.article-content h3 {
    font-size: 24px;
    margin: 30px 0 15px;
    color: #333;
    font-weight: 600;
}

.article-content h4 {
    font-size: 20px;
    margin: 25px 0 12px;
    color: #333;
    font-weight: 600;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content blockquote {
    border-left: 4px solid #4285f4;
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    color: #666;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 4px;
}

/* List formatting for article content */
.article-content ul, .article-content ol {
    margin: 20px 0;
    padding-left: 30px; /* Indent for bullet points */
}

.article-content ul {
    list-style: disc outside !important; /* Default bullet points */
}

.article-content ol {
    list-style: decimal outside !important; /* Numbered list */
}

.article-content li {
    margin-bottom: 10px; /* Spacing between list items */
    display: list-item !important; /* Ensure proper list item display with bullet */
    padding-left: 20px; /* Add padding for bullet point visibility */
    text-indent: -15px; /* Indent text to align with bullet */
}

.article-content li a {
    display: block !important; /* Force links within list items to be on their own line */
    text-decoration: underline;
    color: #4285f4;
    font-weight: 500;
}

.article-content li a:hover {
    color: #3367d6;
    border-bottom-color: #3367d6;
}

/* Ensure the list itself has proper padding */
.article-content ul, .article-content ol {
    padding-left: 30px !important;
}

/* Ensure the list itself has proper padding */
.article-content ul, .article-content ol {
    padding-left: 30px !important;
}

/* Nested list formatting */
.article-content ul ul {
    list-style: circle outside !important;
}

.article-content ol ol {
    list-style: lower-alpha outside !important;
}

.article-content ul ol {
    list-style: decimal outside !important;
}

.article-content ol ul {
    list-style: disc outside !important;
}

/* Page styles */
.page {
    max-width: 800px;
    margin: 0 auto;
}

.page-header {
    margin-bottom: 40px;
    text-align: center;
}

.page-title {
    font-size: 36px;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 700;
    color: #333;
}

.page-excerpt {
    font-size: 18px;
    color: #666;
    margin-bottom: 20px;
    font-style: italic;
}

.page-image {
    margin: 30px 0;
    text-align: center;
}

.page-image img {
    max-width: 600px;
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.page-image figcaption {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-top: 10px;
    font-style: italic;
}

.page-content {
    font-size: 18px;
    line-height: 1.7;
    color: #333;
}

.page-content ul, .page-content ol {
    margin: 20px 0;
    padding-left: 30px;
    list-style: disc outside;
}

.page-content ol {
    list-style: decimal outside;
}

.page-content li {
    margin-bottom: 8px;
    display: list-item;
    list-style: inherit;
}

/* Pagination */
.pagination {
    margin: 60px 0 40px;
    text-align: center;
}

.pagination a {
    display: inline-block;
    padding: 12px 20px;
    margin: 0 5px;
    border: 2px solid #ddd;
    border-radius: 6px;
    color: #666;
    font-weight: 500;
    transition: all 0.2s ease;
}

.pagination a:hover {
    background: #4285f4;
    border-color: #4285f4;
    color: white;
    text-decoration: none;
}

.pagination .current {
    background: #4285f4;
    color: white;
    border-color: #4285f4;
}

/* Site footer */
.site-footer {
    border-top: 1px solid #eee;
    padding: 40px 0;
    background: rgba(255, 255, 255, 0.95);
    margin-top: 60px;
    backdrop-filter: blur(10px);
}

.site-footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    color: #666;
    font-size: 14px;
}

.site-footer-content p {
    margin-bottom: 10px;
}

.site-footer-content a {
    color: #4285f4;
    font-weight: 500;
}

/* Ghost content styles */
.kg-width-wide {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.kg-width-full {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

/* CTA and button styles */
.cta-button {
    display: inline-block;
    background: #4285f4;
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    margin: 20px 0;
}
