@charset "UTF-8";
/* 1. Use a more-intuitive box-sizing model */
*, *::before, *::after {
  box-sizing: border-box;
}

/* 2. Remove default margin */
* {
  margin: 0;
}

body {
  /* 3. Add accessible line-height */
  line-height: 1.5;
  /* 4. Improve text rendering */
  -webkit-font-smoothing: antialiased;
}

/* 5. Improve media defaults */
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

/* 6. Inherit fonts for form controls */
input, button, textarea, select {
  font: inherit;
}

/* 7. Avoid text overflows */
p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

/* 8. Improve line wrapping */
p {
  text-wrap: pretty;
}

h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
}

/*
  9. Create a root stacking context
*/
#root, #__next {
  isolation: isolate;
}

/* Variable Font */
@font-face {
  font-family: "PlusJakartaSans";
  src: url("/assets/fonts/PlusJakartaSans-VariableFont_wght.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-stretch: 75% 125%;
  font-style: normal;
}
@font-face {
  font-family: "PlusJakartaSans-Italic";
  src: url("/assets/fonts/PlusJakartaSans-Italic-VariableFont_wght.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-stretch: 75% 125%;
  font-style: italic;
}
/* Global Styles */
:root {
  /* Light theme variables */
  --bg-primary: #ffffff;
  --text-primary: #2e2e2e;
  --text-secondary: #4e4e4e;
  --text-tertiaty: #6e6e6e;
  --accent-color: #0066cc;
  --card-bg: #ffffff;
  --border-color: #e0e0e0;
  --background-alt: #f5f5f5;
  font-size: calc(1em + 0.5vw);
}

/* Dark theme */
.dark-theme {
  --bg-primary: #000000;
  --text-primary: #e2e2e2;
  --text-secondary: #c2c2c2;
  --text-tertiaty: #a2a2a2;
  --accent-color: #004aad;
  --card-bg: #030303;
  --border-color: #2e2e2e;
  --background-alt: #1a1a1a;
}

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

body {
  font-family: "PlusJakartaSans", sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  transition: background-color 0.3s ease, color 0.3s ease;
}

ul {
  margin: 0;
  padding: 0;
}
ul a {
  text-decoration: none;
  display: flex;
  flex-direction: row;
}

.container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2em;
  max-width: 50em;
  margin: 0 auto;
  padding: 2em;
}

.main-content .recent-posts-title {
  text-align: left;
}
.main-content h1 {
  margin-bottom: 1em;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 3em;
}

.about-sidebar, .archive {
  background: var(--card-bg);
  padding: 1.5em;
  border-radius: 0.25em;
  border: 1px solid var(--border-color);
}
.about-sidebar h2, .archive h2 {
  margin-bottom: 1em;
  font-variation-settings: "wght" 600;
  font-size: 1.2rem;
  text-align: center;
}
.about-sidebar .author-image, .archive .author-image {
  width: 100%;
  max-width: 200px;
  border-radius: 50%;
  margin: 0 auto 1em;
}
.about-sidebar small, .archive small {
  display: block;
  margin-bottom: 0.8em;
  color: var(--text-tertiaty);
  font-size: 0.5em;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-variation-settings: "wght" 500;
}
.about-sidebar p, .archive p {
  color: var(--text-secondary);
  font-size: 0.8em;
}

.archive {
  background: var(--card-bg);
  padding: 1.5em;
  border-radius: 0.25em;
  border: 1px solid var(--border-color);
}
.archive h2 {
  margin-bottom: 1em;
  font-variation-settings: "wght" 600;
  font-size: 1.2rem;
  text-align: center;
}
.archive .archive-year, .archive .archive-month {
  margin-bottom: 0.5em;
}
.archive .year-toggle, .archive .month-toggle {
  width: 100%;
  text-align: left;
  padding: 0.5em;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: all 200ms ease-in-out;
  border-radius: 0.25em;
}
.archive .year-toggle:hover, .archive .month-toggle:hover {
  background: var(--border-color);
}
.archive .year-toggle .post-count, .archive .month-toggle .post-count {
  margin-left: 0.5em;
  color: var(--text-tertiaty);
  font-size: 0.8em;
}
.archive .year-toggle .chevron, .archive .month-toggle .chevron {
  margin-left: auto;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  transition: transform 200ms ease;
  width: 1em;
  height: 1em;
}
.archive .year-toggle[aria-expanded=true] .chevron, .archive .month-toggle[aria-expanded=true] .chevron {
  transform: rotate(180deg);
}
.archive .month-toggle {
  padding-left: 1.5em;
  font-size: 0.85rem;
}
.archive .months {
  padding-left: 0.5em;
}
.archive .posts {
  list-style: none;
  margin: 0;
  padding: 0.5em 0 0.5em 2em;
  overflow: hidden;
  transition: max-height 200ms ease-in-out;
}
.archive .posts.collapsed {
  display: none;
}
.archive .posts li {
  margin-bottom: 0.5em;
  font-size: 0.8rem;
}
.archive .posts a {
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.2em 0;
  transition: color 200ms ease-in-out;
}
.archive .posts a:hover {
  color: var(--accent-color);
}
.archive .collapsed {
  display: none;
}

@media (max-width: 48em) {
  .archive .posts a {
    padding: 0.5em 0;
  }
}
/* Archive Page Styles */
.archive-header {
  margin-bottom: 2em;
}
.archive-header .archive-title {
  font-size: 2em;
  margin: 0 0 0.5em;
  line-height: 1.2;
  color: var(--text-primary);
}
@media (max-width: 48em) {
  .archive-header .archive-title {
    font-size: 1.5em;
  }
}
.archive-header .archive-description {
  color: var(--text-secondary);
  font-size: 1.1em;
  margin: 0;
}
@media (max-width: 48em) {
  .archive-header .archive-description {
    font-size: 1em;
  }
}

/* Blog Post Styles */
.post-container {
  max-width: 50em;
  margin: 0 auto;
  padding: 0 2em 2em 2em;
}

.post {
  margin: 2em 0;
}
.post .post-header {
  margin-bottom: 2em;
  text-align: center;
}
.post .post-hero {
  margin-bottom: 2em;
  margin-top: -2em;
  width: 100%;
}
@media (max-width: 48em) {
  .post .post-hero {
    margin-bottom: 1.5em;
  }
}
.post .post-hero img {
  width: 100%;
  height: auto;
  max-height: 60vh;
  object-fit: cover;
  border-radius: 0 0 0.25em 0.25em;
  aspect-ratio: 16/9;
}
.post .post-title {
  font-size: 2.5em;
  line-height: 1.2;
  margin: 0 0 0.5em;
  color: var(--text-primary);
}
@media (max-width: 48em) {
  .post .post-title {
    font-size: 2em;
  }
}
.post .post-meta {
  color: var(--text-secondary);
  font-size: 0.9em;
}
.post .post-meta > * + *::before {
  content: "•";
  margin: 0 0.5em;
}
.post .post-meta a {
  color: inherit;
  text-decoration: none;
}
.post .post-meta a:hover {
  color: var(--accent-color);
}
.post .post-content {
  max-width: 45ch;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.6;
}
.post .post-content h1, .post .post-content h2, .post .post-content h3, .post .post-content h4, .post .post-content h5, .post .post-content h6 {
  margin: 2em 0 1em;
  color: var(--text-primary);
}
.post .post-content p {
  margin: 1.5em 0;
  font-weight: 200;
}
.post .post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5em;
}
.post .post-content blockquote {
  margin: 2em 0;
  padding: 1em 2em;
  border-left: 4px solid var(--accent-color);
  background: var(--background-alt);
  font-style: italic;
}
.post .post-content blockquote p:first-child {
  margin-top: 0;
}
.post .post-content blockquote p:last-child {
  margin-bottom: 0;
}
.post .post-content code {
  background: var(--background-alt);
  padding: 0.2em 0.4em;
  border-radius: 0.25em;
  font-size: 0.9em;
}
.post .post-content pre {
  background: var(--background-alt);
  padding: 1em;
  border-radius: 0.5em;
  overflow-x: auto;
}
.post .post-content pre code {
  background: none;
  padding: 0;
}
.post .post-content ul, .post .post-content ol {
  margin-left: 1.5em;
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-secondary);
}
.post .post-content ul li, .post .post-content ol li {
  margin-bottom: 0.25em;
}
.post .post-content hr {
  margin: 2em 0;
  border: none;
  border-top: 1px solid var(--border-color);
}
.post .post-footer {
  margin-top: 3em;
  padding-top: 2em;
  border-top: 1px solid var(--border-color);
}
.post .post-tags {
  margin-bottom: 2em;
}
.post .post-tags .post-tag {
  display: inline-block;
  padding: 0.3em 0.8em;
  margin: 0.2em;
  background: var(--background-alt);
  border-radius: 2em;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 200ms ease-in-out;
}
.dark-theme .post .post-tags .post-tag {
  color: var(--text-primary);
}
.dark-theme .post .post-tags .post-tag:hover {
  background: var(--accent-color);
  color: var(--text-primary);
}
.post .post-tags .post-tag:hover {
  background: var(--accent-color);
  color: var(--bg-primary);
}
.post .post-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2em;
}
@media (max-width: 48em) {
  .post .post-navigation {
    grid-template-columns: 1fr;
    gap: 1em;
  }
}
.post .post-navigation a {
  padding: 1em;
  border: 1px solid var(--border-color);
  border-radius: 0.25em;
  text-decoration: none;
  transition: all 200ms ease-in-out;
}
.post .post-navigation a:hover {
  border-color: var(--accent-color);
  background: var(--card-bg);
}
.post .post-navigation a .nav-label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0.5em;
}
.post .post-navigation a .post-title {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin: 0;
}
.post .post-navigation a.next-post {
  text-align: right;
}

/* Recent Posts Component Styles */
.recent-posts {
  padding: 0 0 4em 0;
}
.recent-posts .post-grid {
  display: flex;
  flex-direction: column;
  gap: 4em;
}

.post-card {
  overflow: hidden;
  text-decoration: none;
  list-style: none;
  margin: 0;
  padding: 1em;
  transition: all 200ms ease-in-out;
  border: 1px solid var(--bg-primary);
  border-radius: 0.25em;
}
.post-card:hover {
  background: var(--card-bg);
  border-color: var(--border-color);
}
.post-card .post-link {
  text-decoration: none;
  color: var(--text-primary);
  display: block;
}
.post-card .post-image {
  width: 100%;
  margin-bottom: 0.5em;
  overflow: hidden;
  aspect-ratio: 16/9;
  border-radius: 0.25em;
}
.post-card .post-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.post-card .post-content {
  text-align: left;
  margin-bottom: 1em;
  color: var(--text-secondary);
}
.post-card .post-title {
  font-size: 1.5rem;
  line-height: 1.3;
  margin: 0;
  color: var(--text-primary);
  font-variation-settings: "wght" 600;
}
.post-card .post-meta {
  font-size: 0.65rem;
  color: var(--text-tertiaty);
  margin-top: 0.25em;
  margin-bottom: 1em;
}
.post-card .post-meta time, .post-card .post-meta .category {
  display: inline-block;
}
.post-card .post-excerpt {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin: 1em 0;
  line-height: 1.6;
  text-align: left;
}
.post-card .read-more {
  display: inline-block;
  font-size: 0.8rem;
  color: #ffffff;
  text-decoration: none;
  margin-top: 0.5em;
  background: var(--accent-color);
  border-radius: 0.25em;
  padding: 0.4em 1em;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* Social Links */
.post-social {
  margin-top: 1em;
  display: flex;
  gap: 1em;
  align-items: center;
}
.post-social a {
  color: #666;
  text-decoration: none;
}

/* Navigation Styles */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  backdrop-filter: blur(10px);
}

.header-content {
  max-width: 50em;
  margin: 0 auto;
  padding: 0 2rem;
  gap: 2em;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo {
  text-decoration: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  font-weight: 700;
  transition: color 0.2s ease;
}
.site-logo:hover {
  color: var(--accent-color);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.2s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent-color);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}
.nav-link:hover {
  color: var(--accent-color);
}
.nav-link:hover::after {
  transform: scaleX(1);
}
.nav-link.active {
  color: var(--accent-color);
}
.nav-link.active::after {
  transform: scaleX(1);
}

.theme-toggle-wrapper {
  display: flex;
  align-items: center;
  margin-left: 1rem;
}

@media (max-width: 48em) {
  .theme-toggle-wrapper {
    display: none;
  }
}
.theme-toggle-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 0.6rem;
  color: var(--text-primary);
}

.theme-toggle-input {
  display: none;
}

.theme-toggle-slider {
  position: relative;
  width: 40px;
  height: 20px;
  background-color: #ccc;
  border-radius: 20px;
  margin-left: 0.5rem;
  transition: background-color 0.2s;
}

.theme-toggle-slider::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #fff;
  transition: transform 0.2s;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.theme-toggle-input:checked + .theme-toggle-slider {
  background-color: var(--accent-color);
}

.theme-toggle-input:checked + .theme-toggle-slider::before {
  transform: translateX(20px);
}

.dark-theme .theme-toggle-slider {
  background-color: #555;
}

.dark-theme .theme-toggle-slider::before {
  background-color: #fff;
}

/* Search styles */
.search-container {
  position: relative;
  max-width: 13.5em;
  flex: 1;
}

#search-input {
  width: 100%;
  padding: 0.5em 1em 0.5em 2.5em;
  border: 1px solid var(--border-color);
  border-radius: 0.25em;
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  font-size: 0.7rem;
  transition: all 0.2s ease;
}
#search-input:focus {
  outline: none;
  border-color: var(--accent-color);
  background-color: var(--bg-primary);
}
#search-input::placeholder {
  color: var(--text-secondary);
}

@media (max-width: 48em) {
  #search-input {
    font-size: 1rem;
  }
}
.search-results {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 0.5em;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 0.25em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  max-height: 25rem;
  overflow-y: auto;
  z-index: 1000;
}

.search-result-item {
  display: block;
  padding: 1em;
  text-decoration: none;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-color);
  transition: background-color 0.2s ease;
}
.search-result-item:last-child {
  border-bottom: none;
}
.search-result-item:hover {
  background-color: var(--bg-secondary);
}
.search-result-item h3 {
  margin: 0 0 0.5em 0;
  font-size: 1rem;
  font-weight: 500;
}

.search-result-meta {
  display: flex;
  gap: 1em;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.search-result-category {
  background-color: var(--accent-color-transparent);
  color: var(--accent-color);
  padding: 0.2em 0.5em;
  border-radius: 0.25em;
  font-size: 0.7rem;
}

.search-no-results {
  padding: 1em;
  text-align: center;
  color: var(--text-secondary);
}

.search-input-wrapper {
  position: relative;
}

.search-icon {
  position: absolute;
  left: 0.5em;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-secondary);
  pointer-events: none;
}

/* Responsive search adjustments */
@media (max-width: 48em) {
  .search-container {
    max-width: none;
    margin: 0.5em 0;
    order: -1;
    width: 100%;
  }
  .site-nav {
    flex-wrap: wrap;
  }
  .search-icon {
    left: 0.7em;
  }
}
/* Responsive adjustments */
@media (max-width: 48em) {
  .header-content {
    padding: 0 1em;
  }
  .site-nav {
    gap: 1em;
  }
  .nav-link {
    font-size: 0.9rem;
  }
}
/* Media Queries */
@media (max-width: 48rem) {
  .container {
    grid-template-columns: 1fr;
  }
  .recent-posts {
    width: 100%;
    max-width: 100%;
  }
}
.view-all-posts {
  display: block;
  margin-top: 1em;
  text-align: center;
  text-decoration: underline;
  color: var(--text-primary);
  transition: color 0.2s ease;
}
.view-all-posts:hover {
  color: var(--accent-color);
}

/* Pagination Styles */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5em;
  padding: 1em 0;
}
.pagination .pagination-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5em;
  height: 2.5em;
  border: 1px solid var(--border-color);
  border-radius: 0.25em;
  color: var(--text-primary);
  transition: all 200ms ease-in-out;
}
.pagination .pagination-arrow:hover {
  background: var(--border-color);
  color: var(--text-primary);
}
.pagination .pagination-arrow.disabled {
  opacity: 0.5;
  pointer-events: none;
  cursor: not-allowed;
}
.pagination .pagination-arrow svg {
  width: 1.25em;
  height: 1.25em;
}
.pagination .pagination-numbers {
  display: flex;
  align-items: center;
  gap: 0.25em;
}
.pagination .pagination-number {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5em;
  height: 2.5em;
  padding: 0 0.5em;
  border: 1px solid var(--border-color);
  border-radius: 0.25em;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 200ms ease-in-out;
}
.pagination .pagination-number:hover {
  background: var(--border-color);
  color: var(--text-primary);
}
.pagination .pagination-number.active {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: #ffffff;
}
.pagination .pagination-number.active:hover {
  background: var(--accent-color);
  color: #ffffff;
}
.pagination .pagination-ellipsis {
  color: var(--text-secondary);
  padding: 0 0.25em;
}

@media (max-width: 48em) {
  .pagination {
    gap: 0.5em;
  }
  .pagination .pagination-numbers {
    gap: 0.5em;
  }
  .pagination .pagination-number {
    min-width: 2.7em;
    height: 2.7em;
    font-size: 0.8rem;
  }
  .pagination .pagination-arrow {
    width: 3em;
    height: 3em;
  }
  .pagination .pagination-arrow svg {
    width: 1em;
    height: 1em;
  }
}

/*# sourceMappingURL=style.css.map */