:root {
  --bulma-primary: #000000;
  --bulma-body-family: "Gelasio", serif;
  --bulma-title-family: "Newsreader", serif;
  --bulma-background: #f9f9f9;
  --text-main: #000000;
  --text-muted: #5a6061;
}
html {
  min-height: 100%;
}
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: var(--bulma-background);
  color: var(--text-main);
  font-family: var(--bulma-body-family);
}
.title,
.subtitle,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Newsreader", serif !important;
  font-weight: 300;
  color: var(--text-main) !important;
}
.is-italic-title {
  font-style: italic;
  font-family: "Newsreader", serif !important;
}

.tags-list {
  gap: 0.75rem;
  font-family: "Inter", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 700;
  font-size: 0.65rem;
  flex-wrap: wrap;
}

.tag-item {
  background-color: #f0f0f0;
  padding: 0.4rem 0.8rem;
  border-radius: 0.25rem;
  color: #555;
}

.navbar {
  background-color: rgba(255, 255, 255, 0.75) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #f0f0f0;
  padding: 1.5rem 2rem;
}
.navbar-brand .navbar-item {
  font-family: "Newsreader", serif;
  font-style: italic;
  font-size: 1.5rem;
  color: var(--text-main);
}
.navbar-brand .navbar-item:hover,
.navbar-brand .navbar-item:focus,
.navbar-brand .navbar-item:active {
  background-color: transparent !important;
  color: var(--text-main) !important;
  text-decoration: none !important;
}
.navbar-link-custom {
  font-family: "Inter", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-muted);
  padding: 0.5rem 1.5rem;
  transition: color 0.3s ease;
}
.navbar-link-custom:hover {
  color: var(--text-main);
}
.navbar-link-custom.is-active {
  color: var(--text-main);
  border-bottom: 1px solid var(--text-main);
}

/* Article Styling */
.content blockquote {
  font-family: "Newsreader", serif;
  font-style: italic;
  font-size: 1.5rem;
  border-left: none;
  padding: 3rem 0;
  text-align: center;
  color: #5f5e5e;
}
pre {
  background-color: #f2f4f4;
  border-left: 4px solid #5f5e5e;
  padding: 2rem;
  border-radius: 0;
}
code {
  font-family: "ui-monospace", "SFMono-Regular", "Menlo", "Monaco", "Consolas", monospace;
  background-color: #f2f4f4;
  color: var(--bulma-primary) !important;
  padding: 0.2em 0.4em;
}
pre code {
  background-color: transparent;
  padding: 0;
  color: var(--bulma-primary) !important;
}
.article-container {
  max-width: 800px;
  margin: 0 auto;
}
.dropcap::first-letter {
  font-family: "Newsreader", serif;
  font-size: 5rem;
  float: left;
  line-height: 1;
  padding-right: 0.5rem;
  margin-top: 0.2rem;
}
.meta-label {
  font-family: "Inter", sans-serif;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: #757c7d;
}
.featured-image-container {
  margin-left: -2rem;
  margin-right: -2rem;
}
.featured-image {
  filter: grayscale(100%) brightness(95%);
  width: 100%;
}
.comment-input-box {
  background-color: #f2f4f4;
  padding: 2rem;
}
.article-nav {
  border-top: 1px solid #eee;
  padding-top: 3rem;
  margin-top: 5rem;
}
.author-section {
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  padding: 2rem 0;
  margin: 2rem 0;
}

.footer-custom {
  background-color: #f4f4f4;
  padding: 3rem 2rem;
  margin-top: auto;
}
.footer-text {
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}
.footer-link {
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-left: 2rem;
  transition: transform 0.2s ease;
  display: inline-block;
}
.footer-link:hover {
  color: var(--text-main);
  transform: scale(0.95);
}

.main-content {
  padding-top: 8rem;
  padding-bottom: 6rem;
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}
@media screen and (max-width: 768px) {
  .page-title {
    font-size: 3.5rem;
  }
}
.page-subtitle {
  font-style: italic;
  font-size: 1.5rem;
  color: #666;
  font-family: "Newsreader", serif;
  margin-bottom: 3.5rem;
}
.article-entry {
  margin-bottom: 6rem;
}
.date-label {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: #888;
  margin-bottom: 1.5rem;
  display: block;
}
.article-title {
  font-size: 3.5rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  color: #1a1a1a;
  cursor: pointer;
  transition: color 0.3s ease;
  font-family: "Newsreader", serif !important;
}
.article-title a {
  color: inherit;
  text-decoration: none;
}
.article-title:hover {
  color: #666;
}
.article-excerpt {
  font-family: "Newsreader", serif;
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.6;
  color: #555;
  max-width: 700px;
}
.article-excerpt a {
  color: inherit;
  text-decoration: none;
}
.pagination-container {
  border-top: 1px solid #666;
  padding-top: 3rem;
  margin-top: 4rem;
  font-family: "Inter", sans-serif;
}
.pagination-link {
  color: #000;
}
.pagination-link.is-current {
  background-color: #000;
  border-color: #000;
  color: #fff;
}
.select select {
  accent-color: #000;
}
.select:not(.is-multiple):not(.is-loading)::after {
  border-color: #fff;
}
.select.is-small select,
.select select {
  border-color: #000;
  font-family: "Inter", sans-serif;
}
.select.is-small select:focus,
.select.is-small select:active,
.select.is-small select:focus-visible,
.select select:focus,
.select select:focus-visible {
  border-color: #000 !important;
  box-shadow: 0 0 0 0.15em rgba(0, 0, 0, 0.25) !important;
}
.material-symbols-outlined {
  vertical-align: middle;
  color: #000;
}
.select-per-page {
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.1em;
  font-family: "Inter", sans-serif;
  color: var(--text-main) !important;
}
