@charset "UTF-8";
/**
 * Reset some basic elements
 */
body, h1, h2, h3, h4, h5, h6,
p, blockquote, pre, hr,
dl, dd, ol, ul, figure {
  margin: 0;
  padding: 0;
}

/**
 * Basic styling
 */
body {
  font: 400 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  color: #111;
  background-color: #fdfdfd;
  -webkit-text-size-adjust: 100%;
  -webkit-font-feature-settings: "kern" 1;
  -moz-font-feature-settings: "kern" 1;
  -o-font-feature-settings: "kern" 1;
  font-feature-settings: "kern" 1;
  font-kerning: normal;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

/**
 * Set `margin-bottom` to maintain vertical rhythm
 */
h1, h2, h3, h4, h5, h6,
p, blockquote, pre,
ul, ol, dl, figure,
.highlight {
  margin-bottom: 15px;
}

/**
 * `main` element
 */
main {
  display: block; /* Default value of `display` of `main` element is 'inline' in IE 11. */
}

/**
 * Images
 */
img {
  max-width: 100%;
  vertical-align: middle;
}

/**
 * Figures
 */
figure > img {
  display: block;
}

figcaption {
  font-size: 14px;
}

/**
 * Lists
 */
ul, ol {
  margin-left: 30px;
}

li > ul,
li > ol {
  margin-bottom: 0;
}

/**
 * Headings
 */
h1, h2, h3, h4, h5, h6 {
  font-weight: 400;
}

/**
 * Links
 */
a {
  color: #2a7ae2;
  text-decoration: none;
}
a:visited {
  color: rgb(22.9483471074, 86.2541322314, 168.5516528926);
}
a:hover {
  color: #111;
  text-decoration: underline;
}
.social-media-list a:hover {
  text-decoration: none;
}
.social-media-list a:hover .username {
  text-decoration: underline;
}

/**
 * Blockquotes
 */
blockquote {
  color: #828282;
  border-left: 4px solid #e8e8e8;
  padding-left: 15px;
  font-size: 18px;
  letter-spacing: -1px;
  font-style: italic;
}
blockquote > :last-child {
  margin-bottom: 0;
}

/**
 * Code formatting
 */
pre,
code {
  font-size: 15px;
  border: 1px solid #e8e8e8;
  border-radius: 3px;
  background-color: #eef;
}

code {
  padding: 1px 5px;
}

pre {
  padding: 8px 12px;
  overflow-x: auto;
}
pre > code {
  border: 0;
  padding-right: 0;
  padding-left: 0;
}

/**
 * Wrapper
 */
.wrapper {
  max-width: -webkit-calc(800px - (30px * 2));
  max-width: calc(800px - 30px * 2);
  margin-right: auto;
  margin-left: auto;
  padding-right: 30px;
  padding-left: 30px;
}
@media screen and (max-width: 800px) {
  .wrapper {
    max-width: -webkit-calc(800px - (30px));
    max-width: calc(800px - (30px));
    padding-right: 15px;
    padding-left: 15px;
  }
}

/**
 * Clearfix
 */
.footer-col-wrapper:after, .wrapper:after {
  content: "";
  display: table;
  clear: both;
}

/**
 * Icons
 */
.svg-icon {
  width: 16px;
  height: 16px;
  display: inline-block;
  fill: #828282;
  padding-right: 5px;
  vertical-align: text-top;
}

.social-media-list li + li {
  padding-top: 5px;
}

/**
 * Tables
 */
table {
  margin-bottom: 30px;
  width: 100%;
  text-align: left;
  color: rgb(62.9, 62.9, 62.9);
  border-collapse: collapse;
  border: 1px solid #e8e8e8;
}
table tr:nth-child(even) {
  background-color: rgb(247.3, 247.3, 247.3);
}
table th, table td {
  padding: 9.999999999px 15px;
}
table th {
  background-color: rgb(239.65, 239.65, 239.65);
  border: 1px solid rgb(221.8, 221.8, 221.8);
  border-bottom-color: rgb(201.4, 201.4, 201.4);
}
table td {
  border: 1px solid #e8e8e8;
}

/**
 * Site header
 */
.site-header {
  border-top: 5px solid rgb(66.25, 66.25, 66.25);
  border-bottom: 1px solid #e8e8e8;
  min-height: 55.95px;
  position: relative;
}

.site-title {
  font-size: 26px;
  font-weight: 300;
  line-height: 54px;
  letter-spacing: -1px;
  margin-bottom: 0;
  float: left;
}
.site-title, .site-title:visited {
  color: rgb(66.25, 66.25, 66.25);
}

.site-nav {
  float: right;
  line-height: 54px;
}
.site-nav .nav-trigger {
  display: none;
}
.site-nav .menu-icon {
  display: none;
}
.site-nav .page-link {
  color: #111;
  line-height: 1.5;
}
.site-nav .page-link:not(:last-child) {
  margin-right: 20px;
}
@media screen and (max-width: 600px) {
  .site-nav {
    position: absolute;
    top: 9px;
    right: 15px;
    background-color: #fdfdfd;
    border: 1px solid #e8e8e8;
    border-radius: 5px;
    text-align: right;
  }
  .site-nav label[for=nav-trigger] {
    display: block;
    float: right;
    width: 36px;
    height: 36px;
    z-index: 2;
    cursor: pointer;
  }
  .site-nav .menu-icon {
    display: block;
    float: right;
    width: 36px;
    height: 26px;
    line-height: 0;
    padding-top: 10px;
    text-align: center;
  }
  .site-nav .menu-icon > svg {
    fill: rgb(66.25, 66.25, 66.25);
  }
  .site-nav input ~ .trigger {
    clear: both;
    display: none;
  }
  .site-nav input:checked ~ .trigger {
    display: block;
    padding-bottom: 5px;
  }
  .site-nav .page-link {
    display: block;
    margin-left: 20px;
    padding: 5px 10px;
  }
  .site-nav .page-link:not(:last-child) {
    margin-right: 0;
  }
}

/**
 * Site footer
 */
.site-footer {
  border-top: 1px solid #e8e8e8;
  padding: 30px 0;
}

.footer-heading {
  font-size: 18px;
  margin-bottom: 15px;
}

.contact-list,
.social-media-list {
  list-style: none;
  margin-left: 0;
}

.footer-col-wrapper {
  font-size: 15px;
  color: #828282;
  margin-left: -15px;
}

.footer-col {
  float: left;
  margin-bottom: 15px;
  padding-left: 15px;
}

.footer-col-1 {
  width: -webkit-calc(35% - (30px / 2));
  width: calc(35% - 30px / 2);
}

.footer-col-2 {
  width: -webkit-calc(20% - (30px / 2));
  width: calc(20% - 30px / 2);
}

.footer-col-3 {
  width: -webkit-calc(45% - (30px / 2));
  width: calc(45% - 30px / 2);
}

@media screen and (max-width: 800px) {
  .footer-col-1,
  .footer-col-2 {
    width: -webkit-calc(50% - (30px / 2));
    width: calc(50% - 30px / 2);
  }
  .footer-col-3 {
    width: -webkit-calc(100% - (30px / 2));
    width: calc(100% - 30px / 2);
  }
}
@media screen and (max-width: 600px) {
  .footer-col {
    float: none;
    width: -webkit-calc(100% - (30px / 2));
    width: calc(100% - 30px / 2);
  }
}
/**
 * Page content
 */
.page-content {
  padding: 30px 0;
  flex: 1;
}

.page-heading {
  font-size: 32px;
}

.post-list-heading {
  font-size: 28px;
}

.post-list {
  margin-left: 0;
  list-style: none;
}
.post-list > li {
  margin-bottom: 30px;
}

.post-meta {
  font-size: 14px;
  color: #828282;
}

.post-link {
  display: block;
  font-size: 24px;
}

/**
 * Posts
 */
.post-header {
  margin-bottom: 30px;
}

.post-title {
  font-size: 42px;
  letter-spacing: -1px;
  line-height: 1;
}
@media screen and (max-width: 800px) {
  .post-title {
    font-size: 36px;
  }
}

.post-content {
  margin-bottom: 30px;
}
.post-content h2 {
  font-size: 32px;
}
@media screen and (max-width: 800px) {
  .post-content h2 {
    font-size: 28px;
  }
}
.post-content h3 {
  font-size: 26px;
}
@media screen and (max-width: 800px) {
  .post-content h3 {
    font-size: 22px;
  }
}
.post-content h4 {
  font-size: 20px;
}
@media screen and (max-width: 800px) {
  .post-content h4 {
    font-size: 18px;
  }
}

/**
 * Syntax highlighting styles
 */
.highlight {
  background: #fff;
}
.highlighter-rouge .highlight {
  background: #eef;
}
.highlight .c {
  color: #998;
  font-style: italic;
}
.highlight .err {
  color: #a61717;
  background-color: #e3d2d2;
}
.highlight .k {
  font-weight: bold;
}
.highlight .o {
  font-weight: bold;
}
.highlight .cm {
  color: #998;
  font-style: italic;
}
.highlight .cp {
  color: #999;
  font-weight: bold;
}
.highlight .c1 {
  color: #998;
  font-style: italic;
}
.highlight .cs {
  color: #999;
  font-weight: bold;
  font-style: italic;
}
.highlight .gd {
  color: #000;
  background-color: #fdd;
}
.highlight .gd .x {
  color: #000;
  background-color: #faa;
}
.highlight .ge {
  font-style: italic;
}
.highlight .gr {
  color: #a00;
}
.highlight .gh {
  color: #999;
}
.highlight .gi {
  color: #000;
  background-color: #dfd;
}
.highlight .gi .x {
  color: #000;
  background-color: #afa;
}
.highlight .go {
  color: #888;
}
.highlight .gp {
  color: #555;
}
.highlight .gs {
  font-weight: bold;
}
.highlight .gu {
  color: #aaa;
}
.highlight .gt {
  color: #a00;
}
.highlight .kc {
  font-weight: bold;
}
.highlight .kd {
  font-weight: bold;
}
.highlight .kp {
  font-weight: bold;
}
.highlight .kr {
  font-weight: bold;
}
.highlight .kt {
  color: #458;
  font-weight: bold;
}
.highlight .m {
  color: #099;
}
.highlight .s {
  color: #d14;
}
.highlight .na {
  color: #008080;
}
.highlight .nb {
  color: #0086B3;
}
.highlight .nc {
  color: #458;
  font-weight: bold;
}
.highlight .no {
  color: #008080;
}
.highlight .ni {
  color: #800080;
}
.highlight .ne {
  color: #900;
  font-weight: bold;
}
.highlight .nf {
  color: #900;
  font-weight: bold;
}
.highlight .nn {
  color: #555;
}
.highlight .nt {
  color: #000080;
}
.highlight .nv {
  color: #008080;
}
.highlight .ow {
  font-weight: bold;
}
.highlight .w {
  color: #bbb;
}
.highlight .mf {
  color: #099;
}
.highlight .mh {
  color: #099;
}
.highlight .mi {
  color: #099;
}
.highlight .mo {
  color: #099;
}
.highlight .sb {
  color: #d14;
}
.highlight .sc {
  color: #d14;
}
.highlight .sd {
  color: #d14;
}
.highlight .s2 {
  color: #d14;
}
.highlight .se {
  color: #d14;
}
.highlight .sh {
  color: #d14;
}
.highlight .si {
  color: #d14;
}
.highlight .sx {
  color: #d14;
}
.highlight .sr {
  color: #009926;
}
.highlight .s1 {
  color: #d14;
}
.highlight .ss {
  color: #990073;
}
.highlight .bp {
  color: #999;
}
.highlight .vc {
  color: #008080;
}
.highlight .vg {
  color: #008080;
}
.highlight .vi {
  color: #008080;
}
.highlight .il {
  color: #099;
}

:root {
  --site-font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --code-font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --container-width: 760px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --transition-speed: 0.25s;
  --transition-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Light Theme Variables (Authentic Garth Warm Pastel Cream & Vibrant Purple) */
[data-theme=light] {
  --bg-primary: #ffefc8;
  --bg-secondary: #ffe6a8;
  --bg-tertiary: #fce29c;
  --bg-glass: #ffefc8;
  --text-primary: #262626;
  --text-secondary: #665843;
  --text-muted: #8c7b64;
  --border-color: #f0d8a4;
  --border-hover: #ebd092;
  --accent-color: #5b5bff;
  --accent-hover: #2828ff;
  --accent-light: rgba(91, 91, 255, 0.08);
  --card-bg: #ffefc8;
  --card-border: #f0d8a4;
  --card-shadow: 0 4px 20px -2px rgba(91, 91, 255, 0.06);
  --code-bg: #f8e7b9;
  --code-border: #d4b570;
  --code-text: #1a1a1a;
  --blockquote-bg: #ffe6a8;
  --blockquote-border: #5b5bff;
  --tag-bg: #ffe6a8;
  --tag-text: #5b5bff;
  --tag-border: #f0d8a4;
  --header-bg: #ffe6a8;
  --header-border: #ebd092;
  --footer-bg: #ffefc8;
  --footer-text: #665843;
  --footer-heading: #262626;
  --footer-border: #f0d8a4;
  --selection-bg: #5b5bff;
  --selection-text: #ffffff;
}

/* Dark Theme Variables (Garth Warm Dark Theme) */
[data-theme=dark] {
  --bg-primary: #181610;
  --bg-secondary: #242018;
  --bg-tertiary: #302b20;
  --bg-glass: #181610;
  --text-primary: #f5eedc;
  --text-secondary: #b8ab93;
  --text-muted: #8c8069;
  --border-color: #3d3628;
  --border-hover: #544b38;
  --accent-color: #8585ff;
  --accent-hover: #b3b3ff;
  --accent-light: rgba(133, 133, 255, 0.12);
  --card-bg: #242018;
  --card-border: #3d3628;
  --card-shadow: 0 4px 24px -2px rgba(0, 0, 0, 0.4);
  --code-bg: #201c15;
  --code-border: #524533;
  --code-text: #f5eedc;
  --blockquote-bg: #242018;
  --blockquote-border: #8585ff;
  --tag-bg: #242018;
  --tag-text: #8585ff;
  --tag-border: #3d3628;
  --header-bg: #201d15;
  --header-border: #3d3628;
  --footer-bg: #14120d;
  --footer-text: #b8ab93;
  --footer-heading: #f5eedc;
  --footer-border: #3d3628;
  --selection-bg: #8585ff;
  --selection-text: #181610;
}

/* Base resets & typography */
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body {
  font-family: var(--site-font-family);
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  transition: background-color var(--transition-speed) var(--transition-ease), color var(--transition-speed) var(--transition-ease);
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
}

/* Container wrapper (Garth centered max-width layout) */
.wrapper {
  max-width: var(--container-width);
  margin-right: auto;
  margin-left: auto;
  padding-right: 1.5rem;
  padding-left: 1.5rem;
  width: 100%;
}

/* Main page content container */
.page-content {
  flex: 1 0 auto;
  padding: 3rem 0 4rem;
  background: var(--bg-glass);
  transition: background-color var(--transition-speed) var(--transition-ease);
}

/* Header & Nav (Garth Top Bar) */
.site-header {
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0.5rem 0;
  transition: background-color var(--transition-speed), border-color var(--transition-speed);
}

.site-header .nav-wrapper {
  max-width: 980px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  gap: 1rem;
}

.site-title,
.site-title:visited {
  color: var(--accent-color) !important;
  font-family: var(--site-font-family);
  font-weight: 700;
  font-size: 1.3rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  transition: color 0.15s ease;
  order: 1;
}

.site-title svg {
  color: var(--accent-color);
}

.site-title:hover {
  color: var(--accent-hover) !important;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  order: 2;
  margin-left: auto;
  margin-right: auto;
}

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

.site-nav .page-link {
  color: var(--accent-color) !important;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: all 0.15s ease;
}

.site-nav .page-link:hover {
  color: var(--accent-hover) !important;
  background-color: var(--accent-light);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  order: 3;
  margin-left: auto;
}

/* Active Users Badge */
.active-users-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 4px 9px;
  border-radius: var(--radius-sm);
  color: var(--accent-color);
  font-weight: 600;
  white-space: nowrap;
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: #22c55e;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
  animation: pulse 2s infinite;
}

/* Theme Toggle Button */
.theme-toggle-btn {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--accent-color);
  border-radius: var(--radius-sm);
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.theme-toggle-btn:hover {
  border-color: var(--accent-color);
  background-color: var(--accent-light);
  transform: scale(1.05);
}

.theme-toggle-btn svg {
  transition: transform 0.3s ease;
}

.theme-toggle-btn:hover svg {
  transform: rotate(15deg);
}

[data-theme=dark] .sun-icon {
  display: block;
}

[data-theme=dark] .moon-icon {
  display: none;
}

[data-theme=light] .sun-icon {
  display: none;
}

[data-theme=light] .moon-icon {
  display: block;
}

/* Mobile Menu Toggle & Animated Hamburger */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  width: 36px;
  height: 36px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  align-self: center;
  padding: 0;
  margin: 0;
  transition: all 0.2s ease;
  color: var(--accent-color);
  z-index: 1010;
  flex-shrink: 0;
}

.nav-toggle:hover, .nav-toggle:focus {
  border-color: var(--accent-color);
  background-color: var(--accent-light);
}

.hamburger-box {
  width: 18px;
  height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 0 auto;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
  width: 18px;
  height: 2px;
  background-color: var(--accent-color);
  position: absolute;
  border-radius: 4px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), top 0.25s cubic-bezier(0.16, 1, 0.3, 1), bottom 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.hamburger-inner {
  top: 50%;
  transform: translateY(-50%);
  left: 0;
}

.hamburger-inner::before {
  content: "";
  top: -6px;
  left: 0;
}

.hamburger-inner::after {
  content: "";
  top: 6px;
  left: 0;
}

/* Spin animation on is-active */
.nav-toggle.is-active .hamburger-inner {
  transform: rotate(225deg);
}

.nav-toggle.is-active .hamburger-inner::before {
  top: 0;
  opacity: 0;
}

.nav-toggle.is-active .hamburger-inner::after {
  top: 0;
  transform: rotate(-90deg);
}

/* Typography Defaults (Authentic Garth Style) */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-family: var(--site-font-family);
  font-weight: 700;
  line-height: 1.25;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.3rem;
  margin-top: 1rem;
}

h2 {
  font-size: 1.75rem;
  border-bottom: none;
  padding-bottom: 0;
}

h3 {
  font-size: 1.4rem;
}

h4 {
  font-size: 1.15rem;
}

p, ul, ol, dl, table, blockquote {
  margin-top: 0;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

p, li, td, th {
  color: var(--text-primary);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

/* Code & Syntax Highlighting */
code, kbd, samp, pre {
  font-family: var(--code-font-family);
  font-size: 0.95rem;
}

/* Inline code snippets */
code {
  background: var(--code-bg);
  color: var(--accent-color);
  padding: 0.15em 0.45em;
  border-radius: 4px;
  border: 1px solid var(--code-border);
  font-size: 0.88em;
}

/* ==========================================================================
   CODE BLOCK SECTION CONTAINER & BORDER BOX (MATCHING IMAGE 1 DESIGN)
   ========================================================================== */
/* Outer Card Container around Code Blocks */
.highlighter-rouge,
figure.highlight,
div[class*=language-] {
  background: var(--card-bg) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: 12px !important;
  padding: 12px 16px 16px 16px !important;
  margin: 1.75rem 0 !important;
  position: relative !important;
  box-shadow: 0 4px 16px -4px rgba(0, 0, 0, 0.05) !important;
  transition: border-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.highlighter-rouge:hover,
figure.highlight:hover,
div[class*=language-]:hover {
  border-color: var(--border-hover) !important;
}

.highlighter-rouge > .highlight,
div.highlight {
  background: transparent !important;
  border: 0 !important;
  outline: none !important;
  padding: 0 !important;
  margin: 28px 0 0 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

/* Inner Dark Terminal Code Box */
.highlighter-rouge pre,
figure.highlight pre,
div.highlight pre,
div[class*=language-] pre {
  background: #0d1117 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  outline: none !important;
  border-radius: 8px !important;
  padding: 1.25rem 1.5rem !important;
  overflow-x: auto;
  position: relative;
  margin: 0 !important;
  color: #e6edf3 !important;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2) !important;
}

/* Standalone <pre> not wrapped inside highlighter container */
pre:not(.highlighter-rouge pre):not(div[class*=language-] pre):not(figure.highlight pre) {
  background: var(--card-bg) !important;
  border: 1px solid var(--border-color) !important;
  outline: none !important;
  border-radius: 12px !important;
  padding: 1rem 1.25rem 1.25rem !important;
  overflow-x: auto;
  position: relative;
  margin: 1.75rem 0 !important;
  color: var(--text-primary);
  box-shadow: 0 4px 16px -4px rgba(0, 0, 0, 0.05) !important;
}

/* Inner code element — zero border, zero background */
pre code,
pre code * {
  background: transparent !important;
  border: 0 !important;
  border-style: none !important;
  outline: none !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
}

pre code {
  color: inherit !important;
  font-size: 0.92rem;
  display: block;
}

/* Copy button — top-right inside reserved header space */
.copy-btn {
  position: absolute;
  top: 10px;
  right: 14px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  padding: 4px 10px;
  font-size: 0.75rem;
  font-family: var(--code-font-family);
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.15s ease;
  z-index: 10;
  white-space: nowrap;
  line-height: 1;
}

.copy-btn:hover {
  background: var(--accent-light);
  border-color: var(--accent-color);
  color: var(--accent-color);
}

.copy-btn.copied {
  background: #22c55e;
  color: #ffffff;
  border-color: #22c55e;
}

/* Blockquotes */
blockquote {
  background: var(--blockquote-bg);
  border-left: 4px solid var(--blockquote-border);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-secondary);
  font-style: italic;
}

blockquote p {
  color: var(--text-secondary);
}

/* Garth Post Titles & Listings (Matching Demo Screenshot) */
.latest-posts-section {
  margin-top: 3rem;
}

.post-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.post-item {
  padding: 1.5rem 0;
  border-bottom: none;
}

.post-item .post-meta {
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: block;
  margin-bottom: 0.4rem;
}

.post-item h3,
.post-title-heading {
  margin: 0 0 0.5rem;
  font-size: 1.8rem;
  font-weight: 700;
  border: none;
  padding: 0;
}

.post-item .post-link {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 700;
}

.post-item .post-link:hover {
  color: var(--accent-hover);
}

.post-excerpt {
  color: var(--text-primary);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-top: 0.5rem;
}

/* Tag Badges */
.post-footer p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.post-footer a {
  display: inline-block;
  background: var(--tag-bg);
  color: var(--accent-color);
  border: 1px solid var(--tag-border);
  padding: 3px 12px;
  border-radius: 12px;
  font-size: 0.85rem;
  text-decoration: none;
  margin: 0.2rem 0.2rem 0.2rem 0;
}

.post-footer a:hover {
  background: var(--accent-color);
  color: #ffffff;
  border-color: var(--accent-color);
}

/* Related Posts Box */
.related-posts {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.related-posts h3 {
  font-size: 1.2rem;
  margin-top: 0;
  border-bottom: none;
}

.related-posts ul {
  list-style: square;
  padding-left: 1.2rem;
  color: var(--text-secondary);
}

/* TOC */
.post-toc {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  margin-bottom: 2rem;
}

.post-toc-title {
  font-size: 1.05rem;
  margin-top: 0;
  margin-bottom: 0.6rem;
  border-bottom: none;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 1rem;
  border: 1px solid var(--border-color);
}

th, td {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  text-align: left;
  color: var(--text-primary);
}

th {
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-weight: 700;
}

tr:hover {
  background: var(--accent-light);
}

hr {
  height: 1px;
  background: var(--border-color);
  border: none;
  margin: 2.5rem 0;
}

/* Footer Styling (Garth Warm Aesthetic) */
.site-footer {
  background: var(--footer-bg) !important;
  color: var(--footer-text) !important;
  border-top: 1px solid var(--footer-border) !important;
  padding: 3rem 0 2rem;
  transition: background-color var(--transition-speed), border-color var(--transition-speed);
}

.site-footer a {
  color: var(--accent-color);
}

/* Selection */
::selection {
  background: var(--selection-bg);
  color: var(--selection-text);
}

/* Responsive Rules */
html.nav-open,
body.nav-open {
  overflow: hidden !important;
  touch-action: none;
}

@media (max-width: 768px) {
  .site-header .nav-wrapper {
    flex-wrap: nowrap;
    justify-content: space-between;
    padding: 0 1rem;
    min-height: 52px;
  }
  .site-title {
    order: 1;
    font-size: 1.15rem;
    position: relative;
    z-index: 2010;
  }
  .header-actions {
    order: 2;
    margin-left: auto;
    gap: 0.4rem;
    position: relative;
    z-index: 2010;
  }
  .nav-toggle {
    display: inline-flex;
    order: 3;
    position: relative;
    z-index: 2010;
    margin-left: 0.2rem;
  }
  .nav-toggle.is-active {
    border-color: var(--accent-color);
    background-color: var(--accent-light);
    transform: scale(1.05);
  }
  .nav-toggle.is-active .fa-bars::before {
    content: "\f00d";
  }
  .site-header {
    transition: background-color var(--transition-speed) var(--transition-ease), border-color var(--transition-speed) var(--transition-ease);
  }
  body.nav-open .site-header,
  .site-header:has(.site-nav.is-open) {
    z-index: 2005;
    background: transparent !important;
    border-bottom-color: transparent !important;
  }
  .site-nav {
    display: none;
    width: 100%;
    margin-top: 0.75rem;
    order: 3;
    margin-left: 0;
  }
  .site-nav.is-open {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: var(--bg-primary);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6rem 1.5rem 3rem 1.5rem;
    z-index: 2000;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    animation: fullScreenNavFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
  .site-nav.is-open .site-nav-links {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    text-align: center;
    width: 100%;
    max-width: 360px;
    margin: auto;
  }
  .site-nav.is-open .page-link {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    padding: 0.9rem 1.5rem;
    width: 100%;
    display: block;
    text-align: center;
    color: var(--accent-color) !important;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    opacity: 0;
    transform: translateY(20px);
    animation: fullScreenNavItemSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
  .site-nav.is-open .page-link:nth-child(1) {
    animation-delay: 0.05s;
  }
  .site-nav.is-open .page-link:nth-child(2) {
    animation-delay: 0.1s;
  }
  .site-nav.is-open .page-link:nth-child(3) {
    animation-delay: 0.15s;
  }
  .site-nav.is-open .page-link:nth-child(4) {
    animation-delay: 0.2s;
  }
  .site-nav.is-open .page-link:nth-child(5) {
    animation-delay: 0.25s;
  }
  .site-nav.is-open .page-link:nth-child(6) {
    animation-delay: 0.3s;
  }
  .site-nav.is-open .page-link:nth-child(7) {
    animation-delay: 0.35s;
  }
}
@media (max-width: 768px) and (max-width: 420px) {
  .site-nav.is-open .page-link {
    font-size: 1.25rem;
    padding: 0.8rem 1.25rem;
  }
}
@media (max-width: 768px) {
  .site-nav.is-open .page-link:hover,
  .site-nav.is-open .page-link:focus,
  .site-nav.is-open .page-link:active {
    color: var(--accent-hover) !important;
    background: var(--accent-light);
    border-color: var(--accent-color);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(133, 133, 255, 0.15);
  }
  h1 {
    font-size: 1.85rem;
  }
  h2 {
    font-size: 1.45rem;
  }
  .post-item h3, .post-title-heading {
    font-size: 1.45rem;
  }
}
@keyframes fullScreenNavFadeIn {
  from {
    opacity: 0;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
  }
  to {
    opacity: 1;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }
}
@keyframes fullScreenNavItemSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ==========================================================================
   INTERACTIVE SEARCH, TAG FILTERS, PAGINATION & POST UI
   ========================================================================== */
.post-list-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1rem;
}

.search-filter-box input {
  width: 100%;
  padding: 12px 18px;
  font-family: var(--site-font-family);
  font-size: 1.05rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  outline: none;
  transition: all 0.2s ease;
}

.search-filter-box input:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px var(--accent-light);
}

.tag-filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.filter-btn {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 6px 14px;
  border-radius: 20px;
  font-family: var(--site-font-family);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
}

.filter-btn:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
  background: var(--accent-light);
}

.filter-btn.active {
  background: var(--accent-color);
  color: #ffffff;
  border-color: var(--accent-color);
}

.garth-page-btn {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--accent-color);
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-family: var(--site-font-family);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.garth-page-btn:hover:not(:disabled) {
  background: var(--accent-color);
  color: #ffffff;
  border-color: var(--accent-color);
}

.garth-page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.post-meta-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.3rem;
}

.post-meta-details {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.post-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.post-tag-pill {
  font-size: 0.8rem;
  background: var(--accent-light);
  color: var(--accent-color);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 500;
}

.post-category-badge {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--accent-color);
  color: #ffffff;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
}

#back-to-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-color);
  color: #ffffff;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  z-index: 999;
}

#back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

#back-to-top-btn:hover {
  transform: translateY(-3px);
  background: var(--accent-hover);
}

/* RSS Feed Link */
.rss-link {
  display: inline-flex;
  align-items: center;
  padding: 6px !important;
}

.rss-link:hover svg {
  color: var(--accent-color);
}

/* Copy Toast Notification */
.copy-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--accent-color);
  color: #ffffff;
  padding: 10px 22px;
  border-radius: 8px;
  font-family: var(--site-font-family);
  font-size: 0.88rem;
  font-weight: 500;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 9999;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.copy-toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Writeup metadata, sharing, bookmarks, and learning paths */
.post-card-footer,
.post-action-bar,
.reading-list-actions,
.series-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.post-card-footer {
  margin-top: 1rem;
  flex-wrap: wrap;
}

.post-card-metadata,
.metadata-pill-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.post-card-metadata span,
.metadata-pill {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 0.22rem 0.55rem;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  font-size: 0.78rem;
  line-height: 1.3;
}

.bookmark-btn,
.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 2.25rem;
  border: 1px solid var(--accent-color);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.85rem;
  font-family: var(--site-font-family);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.18s ease;
}

.bookmark-btn {
  background: var(--accent-color);
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(91, 91, 255, 0.2);
}

.share-btn {
  background: var(--accent-light);
  color: var(--accent-color);
}

.bookmark-btn:hover,
.bookmark-btn:focus-visible,
.share-btn:hover,
.share-btn:focus-visible {
  border-color: var(--accent-hover);
  background: var(--accent-hover);
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(91, 91, 255, 0.25);
}

.bookmark-btn.is-saved {
  border-color: var(--accent-hover);
  background: var(--accent-light);
  color: var(--accent-hover);
  box-shadow: none;
}

.bookmark-btn-small {
  padding: 0.35rem 0.65rem;
  font-size: 0.76rem;
  white-space: nowrap;
}

.post-action-bar {
  align-items: flex-start;
  flex-wrap: wrap;
  margin: 1.5rem 0 2rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.share-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.share-label,
.writeup-meta-label,
.post-pagination-label,
.eyebrow {
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.share-label {
  margin-right: 0.15rem;
}

.writeup-meta-card {
  margin: 1rem 0 0;
  padding: 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-secondary);
}

.writeup-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.writeup-meta-grid > div {
  min-width: 0;
}

.writeup-meta-grid strong {
  display: block;
  margin-top: 0.2rem;
  overflow-wrap: anywhere;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.writeup-meta-row,
.writeup-series-link {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--border-color);
}

.writeup-meta-row .writeup-meta-label,
.writeup-series-link .writeup-meta-label {
  flex: 0 0 auto;
  padding-top: 0.2rem;
}

.writeup-series-link a {
  font-weight: 700;
}

.post-pagination-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.post-pagination-item {
  min-height: 5rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-secondary);
}

.post-pagination-item a {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
}

.post-pagination-next {
  text-align: right;
}

.collection-page {
  max-width: 960px;
  margin: 0 auto;
}

.collection-header {
  max-width: 720px;
  margin-bottom: 2.5rem;
}

.collection-header h1 {
  margin-top: 0.35rem;
}

.collection-intro {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.series-grid {
  display: grid;
  gap: 1.25rem;
}

.series-card {
  padding: 1.35rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--card-bg);
  box-shadow: var(--card-shadow);
}

.series-card-header {
  align-items: flex-start;
}

.series-card h2 {
  margin: 0.25rem 0 0.65rem;
  font-size: 1.4rem;
}

.series-card-header .eyebrow {
  margin: 0;
}

.series-index-number {
  color: var(--accent-color);
  font-family: var(--code-font-family);
  font-size: 1.35rem;
  font-weight: 700;
}

.series-audience {
  padding: 0.75rem 0.9rem;
  border-left: 3px solid var(--accent-color);
  background: var(--accent-light);
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.series-post-list {
  margin: 1rem 0 0;
  padding-left: 1.3rem;
}

.series-post-list li {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0 0.75rem 0.25rem;
  border-top: 1px solid var(--border-color);
}

.series-post-list li > div {
  min-width: 0;
}

.series-post-list a {
  font-weight: 700;
}

.series-post-meta {
  display: block;
  margin-top: 0.2rem;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.collection-footer-link {
  margin-top: 2rem;
  color: var(--text-secondary);
  text-align: center;
}

.reading-list-items {
  display: grid;
  gap: 1rem;
}

.reading-list-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--card-bg);
  box-shadow: var(--card-shadow);
}

.reading-list-item[hidden] {
  display: none;
}

.reading-list-item h2 {
  margin: 0.2rem 0 0.45rem;
  font-size: 1.25rem;
}

.reading-list-item p {
  margin-bottom: 0.7rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.reading-list-actions {
  flex: 0 0 auto;
  flex-direction: column;
  align-items: stretch;
}

.inline-page-btn {
  text-align: center;
  white-space: nowrap;
}

.empty-state {
  padding: 3rem 1.5rem;
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-secondary);
  text-align: center;
}

.empty-state-icon {
  margin: 0;
  color: var(--accent-color);
  font-size: 3rem;
  line-height: 1;
}

.empty-state h2 {
  margin: 1rem 0 0.5rem;
}

.empty-state p:not(.empty-state-icon) {
  color: var(--text-secondary);
}

.bookmark-toast {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 10000;
  max-width: min(340px, 100vw - 2.5rem);
  padding: 0.75rem 1rem;
  border: 1px solid var(--accent-color);
  border-radius: var(--radius-md);
  background: var(--bg-secondary);
  color: var(--text-primary);
  box-shadow: var(--card-shadow);
  font-size: 0.88rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(1rem);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.bookmark-toast.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .writeup-meta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .post-action-bar {
    align-items: stretch;
  }
  .share-actions {
    justify-content: flex-start;
  }
  .post-pagination-nav {
    grid-template-columns: 1fr;
  }
  .post-pagination-next {
    text-align: left;
  }
  .reading-list-item {
    flex-direction: column;
    gap: 1rem;
  }
  .reading-list-actions {
    width: 100%;
    flex-direction: row;
    align-items: center;
  }
}
@media (max-width: 480px) {
  .writeup-meta-grid {
    grid-template-columns: 1fr;
  }
  .writeup-meta-row,
  .writeup-series-link {
    flex-direction: column;
    gap: 0.35rem;
  }
  .post-card-footer {
    align-items: flex-start;
  }
  .bookmark-btn-small span {
    display: none;
  }
}

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