@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700&display=swap');

:root {
  --bg: #0b0b0d;
  --surface: #141417;
  --surface-2: #1b1b20;
  --text: #f4f4f5;
  --muted: #a5a5ad;
  --border: #2b2b31;
  --accent: #ffffff;
  --max: 1320px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  font-family: "Sora", system-ui, sans-serif;
  line-height: 1.75;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover { text-decoration: underline; }

.container {
  width: min(calc(100% - 32px), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background:#000000;;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 85px;
}

.nav-wrap,
.footer-wrap {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0!important;
}

.brand {
  font-size: xx-large;
  font-weight: bold;
  color:white;
}

.brand::before{
  content: "|";
  display: inline-block;
  font-size: 50px;
  font-weight: bolder;
  margin-right: -5px;
}

.brand::after{
  content: "|";
  display: inline-block;
  margin-left: -10px;
  font-size: 50px;
  font-weight: bolder;
}

.brand span { opacity: .5; }

.blog-logo{
  width: 70px;
  position: absolute;
  rotate: -45deg;
  margin-left: 4px;
}

nav {
  display: flex;
  gap: 10px;
}

.hero {
  margin-top: 10px;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: .75rem;
  letter-spacing: .14em;
  font-weight: 700;
  color: var(--muted);
}

h1, h2, h3 {
  line-height: 1.2;
  letter-spacing: -.035em;
}

h1 {
  margin: 0px;
}

h2 {
  margin: 0 0 24px;
}

h3 {
  font-size: 1.25rem;
  margin: 10px 0 12px;
}

.lead {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 700px;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 10px;
}

.card {
  padding: 0px 10px 5px 10px;
  border: 1px solid var(--border);
  border-radius: 15px;
}

.card p { color: var(--muted); }

.card-body{
  padding: 0px;
  margin: 10px 0 12px
}

.meta {
  color: var(--muted);
  font-size: .8rem;
}

.read-more {
  font-size: .9rem;
  font-weight: 600;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip, .tag {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 13px;
  font-size: .82rem;
}

.post {
  max-width: 850px;
}

.post-description {
  font-size: 1.1rem;
  margin: 0px;
}

.post-content {
  font-size: 1.05rem;
}

.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.post-content pre {
  overflow-x: auto;
  padding: 18px;
  background: #1111141c;
  border: 1px solid var(--border);
  border-radius: 10px;
}

.post-content code {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}

.post-content blockquote {
  margin: 30px 0;
  padding: 4px 20px;
}

.post-tags {
  padding-top: 15px;
  border-top: 1px solid var(--border);
}

.post-image img{
  border-radius: 5px;
}

.pagination ul{
  margin: 0 auto;
}

.pagination ul li{
  color: #ffffff;
  background: #226936;
  border: 3px solid #ffffff;
  border-radius: 10px;
  text-align: center;
  padding: 8px;
  margin: 2px;
  font-size: 16px;
  line-height: 24px;
  display: block;
  width: auto;
}

.pagination ul li.active{
  background: rgb(34, 61, 105);
}

.tag {
  display: inline-block;
  margin: 5px 4px;
}

.site-footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: .82rem;
}

@media (max-width: 800px) {
  .post-grid { grid-template-columns: 1fr; }
  .nav-wrap { align-items: flex-start; padding: 18px 0; }
  nav { flex-wrap: wrap; justify-content: flex-end; }
}

@media (max-width: 520px) {
  .nav-wrap { display: block; }
  nav { margin-top: 12px; }
  h1 { font-size: 2.25rem; }
}

.blog-menu{
  margin-top: 10px;
}

.blog-menu a{
  color: #ffffff;
  background: #226936;
  border: 3px solid #ffffff;
  border-radius: 10px;
  height: 70px;
  text-align: center;
  padding: 8px;
  margin: 0px;
  font-size: 16px;
  width: 120px;
  line-height: 24px;
}

.blog-menu .nav-after::after{
  display: inline-block;
  margin-left: .255em;
  vertical-align: .255em;
  content: "";
  border-top: .3em solid;
  border-right: .3em solid transparent;
  border-bottom: 0;
  border-left: .3em solid transparent;
}

.nav-item a{
  color: #ffffff;
  background: #226936;
  border: 3px solid #ffffff;
  border-radius: 10px;
  height: 70px;
  text-align: center;
  padding: 8px;
  margin: 0px;
  font-size: 16px;
  width: 120px;
  line-height: 24px;
  display: block;
}

.nav-item a:hover{
  color: white;
}

.dropdown-menu{
  border: 0;
  background-color: transparent;
}

.dropdown-menu li{
  list-style: none;
  margin: 0px;
  padding: 0px;
  width: 120px;
  height: 80px;
}

.dropdown-menu a{
  display: block;
  color: rgb(255, 255, 255);
  background: rgb(34, 61, 105);
  margin: 5px;
  margin-bottom: 10px;
  width: 120px;
  height: 70px;
  text-align: center;
  padding: 8px;
  border: 3px solid #ffffff;
  border-radius: 10px;
}

.breadcrumb{
  padding: 0;
  margin: 0px;
  height: auto;
}

.breadcrumb a {
  text-decoration: underline;
}

.breadcrumb-item{
  padding: 10px 10px 10px 0px;
  color: black;
  width: unset;
  text-align: left;
}

.breadcrumb-item::after{
  content: ">";
  color: black;
}

.breadcrumb-item a{
  color: black;
}

.navbar-collapse{
  overflow: visible;
}

.blog-search label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.blog-search input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  box-sizing: border-box;
}

.blog-search input:focus {
  outline: none;
  border-color: currentColor;
}

.search-count {
  font-size: 0.9rem;
  opacity: 0.7;
  margin-bottom: 20px;
}

.search-result {
    border-bottom: 1px solid #7e7e7e;
    background-color: white;
    padding: 10px;
    border-radius: 5px;
    margin-top: 5px;
}

.search-result h3 {
  margin: 0 0 6px;
}

.search-result h3 a {
  text-decoration: none;
}

.search-result p {
  margin: 0;
}

.no-results {
  opacity: 0.7;
}