@font-face {
  font-family: "NimbusSansBold";
  src: url("/assets/fonts/NimbusSansBold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Lora", Georgia, serif;
  color: #1f252d;
  line-height: 1.7;
  background-color: #f7f8fa;
  -webkit-font-smoothing: antialiased;
}

h1,
h2 {
  font-family: "NimbusSansBold", "Open Sans", sans-serif;
}

h1 a,
h2 a {
  font-family: inherit;
  font-weight: inherit;
}

a {
  color: #e67e22;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

a:hover,
a:focus {
  color: rgb(200.5170731707, 106.156097561, 22.6829268293);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  position: fixed;
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  background: #2d3a4b;
  color: #fff;
  z-index: 1000;
  border-radius: 4px;
}

.container {
  width: min(90%, 1100px);
  margin: 0 auto;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 800;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  box-shadow: 0 1px 0 rgba(45, 58, 75, 0.12);
}

.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 1.5rem;
}

.site-nav__brand {
  font-family: "Lora", Georgia, serif;
  font-size: 1.3rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #2d3a4b;
}

.site-nav__links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.site-nav__link {
  position: relative;
  padding-bottom: 0.25rem;
  color: #2d3a4b;
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: #e67e22;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease-in-out;
}

.site-nav__link:hover::after,
.site-nav__link:focus::after,
.site-nav__link.is-active::after {
  transform: scaleX(1);
}

.site-nav__toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}

.site-nav__toggle-label {
  display: none;
}

.hero {
  position: relative;
  padding: 1.5rem 0 1rem;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.hero--compact {
  padding: 4.5rem 0 3.5rem;
}

.hero__background,
.hero__overlay {
  position: absolute;
  inset: 0;
}

.hero__background {
  background: linear-gradient(135deg, #283445, #1a2029);
  background-size: cover;
  background-position: center;
  filter: brightness(0.75);
}

.hero--with-image .hero__background {
  background-image: var(--hero-image);
}

.hero__overlay {
  background: linear-gradient(180deg, rgba(16, 21, 28, 0.7), rgba(16, 21, 28, 0.5));
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1080px;
}

.hero__kicker {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  margin: 0 0 1.5rem;
  color: rgba(255, 255, 255, 0.85);
}

.hero__title {
  font-family: "NimbusSansBold", "Open Sans", sans-serif;
  font-weight: 600;
  font-size: clamp(2.1rem, 4vw, 3rem);
  margin: 0 0 1rem;
  letter-spacing: 0.02em;
}

.hero__subtitle {
  margin: 0 auto 1.5rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero__meta {
  margin: 0;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.content {
  margin: 0 auto 4rem;
}

.post-feed {
  padding-top: 2.5rem;
}

.post-feed__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2.5rem;
}

.post-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 35px rgba(45, 58, 75, 0.08);
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  overflow: hidden;
}

.post-card article {
  padding: 2.25rem 2.5rem;
}

.post-card:hover,
.post-card:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(45, 58, 75, 0.12);
}

.post-card__image-link {
  display: block;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.post-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease-in-out;
}

.post-card:hover .post-card__image,
.post-card:focus-within .post-card__image {
  transform: scale(1.05);
}

.post-card__meta {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6c7a89;
}

.post-card__title {
  margin: 0 0 1rem;
  font-family: "NimbusSansBold", "Open Sans", sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  color: #2d3a4b;
}

.post-card__title a {
  color: inherit;
  font-family: inherit;
  font-weight: inherit;
}

.post-card__excerpt {
  margin: 0 0 1.5rem;
  color: #6c7a89;
}

.post-card__cta {
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.92rem;
}

.post-feed__empty {
  margin: 4rem auto;
  text-align: center;
  color: #6c7a89;
}

.post-feed__pagination {
  margin: 3rem auto 0;
  padding: 1.5rem 2rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(45, 58, 75, 0.08), rgba(230, 126, 34, 0.12));
  box-shadow: 0 12px 32px rgba(45, 58, 75, 0.14);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.post-feed__pagination-state {
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgb(82.8, 96.4, 112.2);
}

.post-feed__pagination-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.post-feed__pagination-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  background: #fff;
  color: #2d3a4b;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(45, 58, 75, 0.12);
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out, color 0.2s ease-in-out, background 0.2s ease-in-out;
}

.post-feed__pagination-link:hover,
.post-feed__pagination-link:focus {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(45, 58, 75, 0.16);
  background: rgb(252, 239.52, 228.48);
}

.post-feed__pagination-link--prev::before,
.post-feed__pagination-link--next::after {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 700;
  transition: transform 0.2s ease-in-out;
  color: #e67e22;
}

.post-feed__pagination-link--prev::before {
  content: "<";
}

.post-feed__pagination-link--next::after {
  content: ">";
}

.post-feed__pagination-link--prev:hover::before,
.post-feed__pagination-link--prev:focus::before {
  transform: translateX(-2px);
}

.post-feed__pagination-link--next:hover::after,
.post-feed__pagination-link--next:focus::after {
  transform: translateX(2px);
}

@media (max-width: 640px) {
  .post-feed__pagination {
    padding: 1.25rem 1.5rem;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .post-feed__pagination-links {
    justify-content: center;
    width: 100%;
  }
  .post-feed__pagination-link {
    justify-content: center;
  }
}
.page-content,
.post {
  margin-top: -2rem;
}

.page-content__body,
.post__body {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 14px 40px rgba(45, 58, 75, 0.1);
  padding: clamp(2rem, 4vw, 3rem);
  max-width: 860px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.page-content__body h2,
.page-content__body h3,
.page-content__body h4,
.post__body h2,
.post__body h3,
.post__body h4 {
  font-family: "Lora", Georgia, serif;
  margin-top: 2.4rem;
  margin-bottom: 1rem;
  color: #2d3a4b;
}

.page-content__body h2,
.post__body h2 {
  font-family: "NimbusSansBold", "Open Sans", sans-serif;
  font-size: 2rem;
}

.page-content__body h3,
.post__body h3 {
  font-size: 1.5rem;
}

.page-content__body p,
.post__body p {
  margin-bottom: 1.3rem;
}

.page-content__body figure,
.post__body figure {
  margin: 2.5rem auto;
  max-width: min(100%, 720px);
  text-align: center;
}

.page-content__body figure img,
.post__body figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 32px rgba(17, 22, 29, 0.2);
}

.page-content__body figcaption,
.post__body figcaption {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #6c7a89;
}

hr {
  border: 0;
  border-top: 1px solid rgba(45, 58, 75, 0.12);
  margin: 3rem 0;
}

blockquote {
  border-left: 4px solid #e67e22;
  margin: 2rem 0;
  padding: 1.2rem 1.5rem;
  background: rgba(230, 126, 34, 0.08);
  font-style: italic;
}

pre,
code {
  font-family: "Source Code Pro", SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.95rem;
}

pre {
  background: #12171f;
  color: #f1f5fa;
  padding: 1.5rem;
  border-radius: 8px;
  overflow-x: auto;
  margin: 2rem 0;
}

code {
  background: rgba(45, 58, 75, 0.08);
  padding: 0.15rem 0.35rem;
  border-radius: 4px;
}

/* Code Block Styles */
pre.highlight {
  position: relative;
  background: #1e252e; /* Darker background */
  color: #d4d4d4;
  padding: 1rem; /* Reduced padding */
  border-radius: 8px;
  overflow-x: auto;
  margin: 2rem 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

pre.highlight code {
  background: none;
  padding: 0;
  border-radius: 0;
  color: inherit;
}

/* Fix for Rouge Table Structure (Line Numbers) */
.rouge-table {
  margin: 0;
  padding: 0;
  width: 100%;
  border-spacing: 0;
  border-collapse: collapse;
}

.rouge-table td {
  padding: 0;
  vertical-align: top;
  border: none;
}

/* Reset inner pre styles to prevent double padding/margin */
.rouge-table pre {
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  overflow: visible;
  line-height: 1.6; /* Ensure consistent line height */
}

/* Line Numbers Column */
.rouge-gutter {
  padding-right: 1rem !important;
  text-align: right;
  width: 1%; /* Shrink to fit */
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  user-select: none;
}

/* Code Column */
.rouge-code {
  padding-left: 1rem !important;
}

.lineno {
  color: #6c7a89;
  display: block; /* Ensure it behaves as a block inside the pre */
}

/* Syntax Highlighting Colors (Rouge/Pygments friendly) */
.highlight .c, .highlight .cm, .highlight .cp, .highlight .c1, .highlight .cs {
  color: #608b4e;
  font-style: italic;
} /* Comment */
.highlight .k, .highlight .kc, .highlight .kd, .highlight .kp, .highlight .kr, .highlight .kt {
  color: #569cd6;
  font-weight: bold;
} /* Keyword */
.highlight .o, .highlight .ow {
  color: #d4d4d4;
} /* Operator */
.highlight .n, .highlight .nb, .highlight .bp {
  color: #9cdcfe;
} /* Name/Builtin */
.highlight .nf, .highlight .fm {
  color: #dcdcaa;
} /* Function */
.highlight .s, .highlight .sa, .highlight .sb, .highlight .sc, .highlight .dl, .highlight .sd, .highlight .s2, .highlight .se, .highlight .sh, .highlight .si, .highlight .sx, .highlight .sr, .highlight .s1, .highlight .ss {
  color: #ce9178;
} /* String */
.highlight .m, .highlight .mb, .highlight .mf, .highlight .mh, .highlight .mi, .highlight .il, .highlight .mo {
  color: #b5cea8;
} /* Number */
.highlight .nt {
  color: #569cd6;
} /* Tag */
.highlight .na {
  color: #9cdcfe;
} /* Attribute */
/* Copy Button */
.copy-code-button {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 4px;
  color: #fff;
  padding: 0.25rem 0.5rem;
  font-size: 0.8rem;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s ease-in-out, background 0.2s;
  font-family: "Lora", Georgia, serif;
  z-index: 10; /* Ensure it's above code */
}

pre.highlight:hover .copy-code-button {
  opacity: 1;
}

.copy-code-button:hover {
  background: rgba(255, 255, 255, 0.2);
}

.copy-code-button.copied {
  background: #28a745;
}

.post__tags {
  margin: 2.5rem auto 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  max-width: 860px;
}

.post__tag {
  display: inline-block;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(45, 58, 75, 0.1);
  color: #2d3a4b;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s ease-in-out, transform 0.2s ease-in-out, color 0.2s ease-in-out;
}

.post__tag:hover,
.post__tag:focus {
  background: rgba(230, 126, 34, 0.18);
  color: #2d3a4b;
  transform: translateY(-1px);
}

.post__pagination {
  max-width: 860px;
  margin: 3rem auto 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.post__pagination-link {
  flex: 1;
  display: inline-block;
  padding: 1rem 1.5rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(45, 58, 75, 0.12);
  color: #2d3a4b;
  text-align: center;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.post__pagination-link--prev {
  text-align: left;
}

.post__pagination-link--next {
  text-align: right;
}

.site-footer {
  background: #11161d;
  color: rgba(255, 255, 255, 0.75);
  padding: 3.5rem 0;
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.site-footer__brand {
  font-family: "Lora", Georgia, serif;
  font-size: 1.4rem;
  margin: 0;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}

.site-footer__tagline {
  margin: 0.25rem 0 0.5rem;
  max-width: 460px;
}

.site-footer__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.site-footer__link {
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
}

.site-footer__link:hover,
.site-footer__link:focus {
  color: #fff;
}

.site-footer__note {
  margin: 0.5rem 0 0;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.not-found {
  text-align: center;
}

.not-found h2 {
  font-family: "NimbusSansBold", "Open Sans", sans-serif;
  font-size: 1.8rem;
  margin-bottom: 1.2rem;
  color: #2d3a4b;
}

.not-found p {
  margin-bottom: 1rem;
}

@media (max-width: 720px) {
  .site-nav__inner {
    flex-wrap: wrap;
  }
  .site-nav__toggle-label {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.3rem;
    width: 1.8rem;
    height: 1.25rem;
    cursor: pointer;
  }
  .site-nav__toggle-label span,
  .site-nav__toggle-label span::before,
  .site-nav__toggle-label span::after {
    display: block;
    background: #2d3a4b;
    height: 2px;
    border-radius: 2px;
    transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
  }
  .site-nav__toggle-label span {
    position: relative;
  }
  .site-nav__toggle-label span::before,
  .site-nav__toggle-label span::after {
    content: "";
    position: absolute;
    width: 100%;
    left: 0;
  }
  .site-nav__toggle-label span::before {
    top: -6px;
  }
  .site-nav__toggle-label span::after {
    top: 6px;
  }
  .site-nav__links {
    flex-basis: 100%;
    flex-direction: column;
    align-items: flex-start;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(45, 58, 75, 0.12);
    padding: 1.25rem;
    margin-top: 0.5rem;
    display: none;
  }
  #nav-toggle:checked ~ .site-nav__links {
    display: flex;
  }
  #nav-toggle:checked + .site-nav__toggle-label span {
    background: transparent;
  }
  #nav-toggle:checked + .site-nav__toggle-label span::before {
    transform: translateY(6px) rotate(45deg);
  }
  #nav-toggle:checked + .site-nav__toggle-label span::after {
    transform: translateY(-6px) rotate(-45deg);
  }
  .post-feed {
    margin-top: -1.5rem;
    padding-top: 2rem;
  }
  .post-card article {
    padding: 1.75rem 1.9rem;
  }
  .hero {
    padding: 5.5rem 0 4rem;
  }
  .hero__title {
    font-size: clamp(2rem, 9vw, 2.6rem);
  }
  .hero__subtitle {
    font-size: 1rem;
  }
}
@media (max-width: 540px) {
  .container {
    width: 92%;
  }
  .post-card__title {
    font-size: 1.6rem;
  }
  .page-content__body,
  .post__body {
    padding: 1.75rem;
  }
}

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