/*
  PaperMod v8+
  License: MIT https://github.com/adityatelange/hugo-PaperMod/blob/master/LICENSE
  Copyright (c) 2020 nanxiaobei and adityatelange
  Copyright (c) 2021-2025 adityatelange
*/
:root{--gap:24px;--content-gap:20px;--nav-width:1024px;--main-width:720px;--header-height:60px;--footer-height:60px;--radius:8px;--theme:rgb(255, 255, 255);--entry:rgb(255, 255, 255);--primary:rgb(30, 30, 30);--secondary:rgb(108, 108, 108);--tertiary:rgb(214, 214, 214);--content:rgb(31, 31, 31);--code-block-bg:rgb(28, 29, 33);--code-bg:rgb(245, 245, 245);--border:rgb(238, 238, 238)}.dark{--theme:rgb(29, 30, 32);--entry:rgb(46, 46, 51);--primary:rgb(218, 218, 219);--secondary:rgb(155, 156, 157);--tertiary:rgb(65, 66, 68);--content:rgb(196, 196, 197);--code-block-bg:rgb(46, 46, 51);--code-bg:rgb(55, 56, 62);--border:rgb(51, 51, 51)}.list{background:var(--code-bg)}.dark.list{background:var(--theme)}*,::after,::before{box-sizing:border-box}html{-webkit-tap-highlight-color:transparent;overflow-y:scroll;-webkit-text-size-adjust:100%;text-size-adjust:100%}a,button,body,h1,h2,h3,h4,h5,h6{color:var(--primary)}body{font-family:-apple-system,BlinkMacSystemFont,segoe ui,Roboto,Oxygen,Ubuntu,Cantarell,open sans,helvetica neue,sans-serif;font-size:18px;line-height:1.6;word-break:break-word;background:var(--theme)}article,aside,figcaption,figure,footer,header,hgroup,main,nav,section,table{display:block}h1,h2,h3,h4,h5,h6{line-height:1.2}h1,h2,h3,h4,h5,h6,p{margin-top:0;margin-bottom:0}ul{padding:0}a{text-decoration:none}body,figure,ul{margin:0}table{width:100%;border-collapse:collapse;border-spacing:0;overflow-x:auto;word-break:keep-all}button,input,textarea{padding:0;font:inherit;background:0 0;border:0}input,textarea{outline:0}button,input[type=button],input[type=submit]{cursor:pointer}input:-webkit-autofill,textarea:-webkit-autofill{box-shadow:0 0 0 50px var(--theme)inset}img{display:block;max-width:100%}.not-found{position:absolute;left:0;right:0;display:flex;align-items:center;justify-content:center;height:80%;font-size:160px;font-weight:700}.archive-posts{width:100%;font-size:16px}.archive-year{margin-top:40px}.archive-year:not(:last-of-type){border-bottom:2px solid var(--border)}.archive-month{display:flex;align-items:flex-start;padding:10px 0}.archive-month-header{margin:25px 0;width:200px}.archive-month:not(:last-of-type){border-bottom:1px solid var(--border)}.archive-entry{position:relative;padding:5px;margin:10px 0}.archive-entry-title{margin:5px 0;font-weight:400}.archive-count,.archive-meta{color:var(--secondary);font-size:14px}.footer,.top-link{font-size:12px;color:var(--secondary)}.footer{max-width:calc(var(--main-width) + var(--gap) * 2);margin:auto;padding:calc((var(--footer-height) - var(--gap))/2)var(--gap);text-align:center;line-height:24px}.footer span{margin-inline-start:1px;margin-inline-end:1px}.footer span:last-child{white-space:nowrap}.footer a{color:inherit;border-bottom:1px solid var(--secondary)}.footer a:hover{border-bottom:1px solid var(--primary)}.top-link{visibility:hidden;position:fixed;bottom:60px;right:30px;z-index:99;background:var(--tertiary);width:42px;height:42px;padding:12px;border-radius:64px;transition:visibility .5s,opacity .8s linear}.top-link,.top-link svg{filter:drop-shadow(0 0 0 var(--theme))}.footer a:hover,.top-link:hover{color:var(--primary)}.top-link:focus,#theme-toggle:focus{outline:0}.nav{display:flex;flex-wrap:wrap;justify-content:space-between;max-width:calc(var(--nav-width) + var(--gap) * 2);margin-inline-start:auto;margin-inline-end:auto;line-height:var(--header-height)}.nav a{display:block}.logo,#menu{display:flex;margin:auto var(--gap)}.logo{flex-wrap:inherit}.logo a{font-size:24px;font-weight:700}.logo a img,.logo a svg{display:inline;vertical-align:middle;pointer-events:none;transform:translate(0,-10%);border-radius:6px;margin-inline-end:8px}button#theme-toggle{font-size:26px;margin:auto 4px}body.dark #moon{vertical-align:middle;display:none}body:not(.dark) #sun{display:none}#menu{list-style:none;word-break:keep-all;overflow-x:auto;white-space:nowrap}#menu li+li{margin-inline-start:var(--gap)}#menu a{font-size:16px}#menu .active{font-weight:500;border-bottom:2px solid}.lang-switch li,.lang-switch ul,.logo-switches{display:inline-flex;margin:auto 4px}.lang-switch{display:flex;flex-wrap:inherit}.lang-switch a{margin:auto 3px;font-size:16px;font-weight:500}.logo-switches{flex-wrap:inherit}.main{position:relative;min-height:calc(100vh - var(--header-height) - var(--footer-height));max-width:calc(var(--main-width) + var(--gap) * 2);margin:auto;padding:var(--gap)}.page-header h1{font-size:40px}.pagination{display:flex}.pagination a{color:var(--theme);font-size:13px;line-height:36px;background:var(--primary);border-radius:calc(36px/2);padding:0 16px}.pagination .next{margin-inline-start:auto}.social-icons a{display:inline-flex;padding:10px}.social-icons a svg{height:26px;width:26px}code{direction:ltr}div.highlight,pre{position:relative}.copy-code{display:none;position:absolute;top:4px;right:4px;color:rgba(255,255,255,.8);background:rgba(78,78,78,.8);border-radius:var(--radius);padding:0 5px;font-size:14px;user-select:none}div.highlight:hover .copy-code,pre:hover .copy-code{display:block}.first-entry{position:relative;display:flex;flex-direction:column;justify-content:center;min-height:320px;margin:var(--gap)0 calc(var(--gap) * 2)}.first-entry .entry-header{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}.first-entry .entry-header h1{font-size:34px;line-height:1.3}.first-entry .entry-content{margin:14px 0;font-size:16px;-webkit-line-clamp:3}.first-entry .entry-footer{font-size:14px}.home-info .entry-content{-webkit-line-clamp:unset}.post-entry{position:relative;margin-bottom:var(--gap);padding:var(--gap);background:var(--entry);border-radius:var(--radius);transition:transform .1s;border:1px solid var(--border)}.post-entry:active{transform:scale(.96)}.tag-entry .entry-cover{display:none}.entry-header h2{font-size:24px;line-height:1.3}.entry-content{margin:8px 0;color:var(--secondary);font-size:14px;line-height:1.6;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.entry-footer{color:var(--secondary);font-size:13px}.entry-link{position:absolute;left:0;right:0;top:0;bottom:0}.entry-hint{color:var(--secondary)}.entry-hint-parent{display:flex;justify-content:space-between}.entry-cover{font-size:14px;margin-bottom:var(--gap);text-align:center}.entry-cover img{border-radius:var(--radius);width:100%;height:auto}.entry-cover a{color:var(--secondary);box-shadow:0 1px 0 var(--primary)}.page-header,.post-header{margin:24px auto var(--content-gap)}.post-title{margin-bottom:2px;font-size:40px}.post-description{margin-top:10px;margin-bottom:5px}.post-meta,.breadcrumbs{color:var(--secondary);font-size:14px}.breadcrumbs{display:flex;flex-wrap:wrap;align-items:center}.post-meta .i18n_list li{display:inline-flex;list-style:none;margin:auto 3px;box-shadow:0 1px 0 var(--secondary)}.breadcrumbs a{font-size:16px}.post-content{color:var(--content)}.post-content h3,.post-content h4,.post-content h5,.post-content h6{margin:24px 0 16px}.post-content h1{margin:40px auto 32px;font-size:40px}.post-content h2{margin:32px auto 24px;font-size:32px}.post-content h3{font-size:24px}.post-content h4{font-size:16px}.post-content h5{font-size:14px}.post-content h6{font-size:12px}.post-content a,.toc a:hover{box-shadow:0 1px;box-decoration-break:clone;-webkit-box-decoration-break:clone}.post-content a code{margin:auto 0;border-radius:0;box-shadow:0 -1px 0 var(--primary)inset}.post-content del{text-decoration:line-through}.post-content dl,.post-content ol,.post-content p,.post-content figure,.post-content ul{margin-bottom:var(--content-gap)}.post-content ol,.post-content ul{padding-inline-start:20px}.post-content li{margin-top:5px}.post-content li p{margin-bottom:0}.post-content dl{display:flex;flex-wrap:wrap;margin:0}.post-content dt{width:25%;font-weight:700}.post-content dd{width:75%;margin-inline-start:0;padding-inline-start:10px}.post-content dd~dd,.post-content dt~dt{margin-top:10px}.post-content table{margin-bottom:var(--content-gap)}.post-content table th,.post-content table:not(.highlighttable,.highlight table,.gist .highlight) td{min-width:80px;padding:8px 5px;line-height:1.5;border-bottom:1px solid var(--border)}.post-content table th{text-align:start}.post-content table:not(.highlighttable) td code:only-child{margin:auto 0}.post-content .highlight table{border-radius:var(--radius)}.post-content .highlight:not(table){margin:10px auto;background:var(--code-block-bg)!important;border-radius:var(--radius);direction:ltr}.post-content li>.highlight{margin-inline-end:0}.post-content ul pre{margin-inline-start:calc(var(--gap) * -2)}.post-content .highlight pre{margin:0}.post-content .highlighttable{table-layout:fixed}.post-content .highlighttable td:first-child{width:40px}.post-content .highlighttable td .linenodiv{padding-inline-end:0!important}.post-content .highlighttable td .highlight,.post-content .highlighttable td .linenodiv pre{margin-bottom:0}.post-content code{margin:auto 4px;padding:4px 6px;font-size:.78em;line-height:1.5;background:var(--code-bg);border-radius:2px}.post-content pre code{display:grid;margin:auto 0;padding:10px;color:#d5d5d6;background:var(--code-block-bg)!important;border-radius:var(--radius);overflow-x:auto;word-break:break-all}.post-content blockquote{margin:20px 0;padding:0 14px;border-inline-start:3px solid var(--primary)}.post-content hr{margin:30px 0;height:2px;background:var(--tertiary);border:0}.post-content iframe{max-width:100%}.post-content img{border-radius:4px;margin:1rem 0}.post-content img[src*="#center"]{margin:1rem auto}.post-content figure.align-center{text-align:center}.post-content figure>figcaption{color:var(--primary);font-size:16px;font-weight:700;margin:8px 0 16px}.post-content figure>figcaption>p{color:var(--secondary);font-size:14px;font-weight:400}.toc{margin-bottom:var(--content-gap);border:1px solid var(--border);background:var(--code-bg);border-radius:var(--radius);padding:.4em}.dark .toc{background:var(--entry)}.toc details summary{cursor:zoom-in;margin-inline-start:10px;user-select:none}.toc details[open] summary{cursor:zoom-out}.toc .details{display:inline;font-weight:500}.toc .inner{margin:5px 20px 0;padding:0 10px;opacity:.9}.toc li ul{margin-inline-start:var(--gap)}.toc summary:focus{outline:0}.post-footer{margin-top:var(--content-gap)}.post-footer>*{margin-bottom:10px}.post-tags{display:flex;flex-wrap:wrap;gap:10px}.post-tags li{display:inline-block}.post-tags a,.share-buttons,.paginav{border-radius:var(--radius);background:var(--code-bg);border:1px solid var(--border)}.post-tags a{display:block;padding:0 14px;color:var(--secondary);font-size:14px;line-height:34px;background:var(--code-bg)}.post-tags a:hover,.paginav a:hover{background:var(--border)}.share-buttons{padding:10px;display:flex;justify-content:center;overflow-x:auto;gap:10px}.share-buttons li,.share-buttons a{display:inline-flex}.share-buttons a:not(:last-of-type){margin-inline-end:12px}h1:hover .anchor,h2:hover .anchor,h3:hover .anchor,h4:hover .anchor,h5:hover .anchor,h6:hover .anchor{display:inline-flex;color:var(--secondary);margin-inline-start:8px;font-weight:500;user-select:none}.paginav{display:flex;line-height:30px}.paginav a{padding-inline-start:14px;padding-inline-end:14px;border-radius:var(--radius)}.paginav .title{letter-spacing:1px;text-transform:uppercase;font-size:small;color:var(--secondary)}.paginav .prev,.paginav .next{width:50%}.paginav span:hover:not(.title){box-shadow:0 1px}.paginav .next{margin-inline-start:auto;text-align:right}[dir=rtl] .paginav .next{text-align:left}h1>a>svg{display:inline}img.in-text{display:inline;margin:auto}.buttons,.main .profile{display:flex;justify-content:center}.main .profile{align-items:center;min-height:calc(100vh - var(--header-height) - var(--footer-height) - (var(--gap) * 2));text-align:center}.profile .profile_inner{display:flex;flex-direction:column;align-items:center;gap:10px}.profile img{border-radius:50%}.buttons{flex-wrap:wrap;max-width:400px}.button{background:var(--tertiary);border-radius:var(--radius);margin:8px;padding:6px;transition:transform .1s}.button-inner{padding:0 8px}.button:active{transform:scale(.96)}#searchbox input{padding:4px 10px;width:100%;color:var(--primary);font-weight:700;border:2px solid var(--tertiary);border-radius:var(--radius)}#searchbox input:focus{border-color:var(--secondary)}#searchResults li{list-style:none;border-radius:var(--radius);padding:10px;margin:10px 0;position:relative;font-weight:500}#searchResults{margin:10px 0;width:100%}#searchResults li:active{transition:transform .1s;transform:scale(.98)}#searchResults a{position:absolute;width:100%;height:100%;top:0;left:0;outline:none}#searchResults .focus{transform:scale(.98);border:2px solid var(--tertiary)}.terms-tags li{display:inline-block;margin:10px;font-weight:500}.terms-tags a{display:block;padding:3px 10px;background:var(--tertiary);border-radius:6px;transition:transform .1s}.terms-tags a:active{background:var(--tertiary);transform:scale(.96)}.bg{color:#cad3f5;background-color:#24273a}.chroma{color:#cad3f5;background-color:#24273a}.chroma .x{}.chroma .err{color:#ed8796}.chroma .cl{}.chroma .lnlinks{outline:none;text-decoration:none;color:inherit}.chroma .lntd{vertical-align:top;padding:0;margin:0;border:0}.chroma .lntable{border-spacing:0;padding:0;margin:0;border:0}.chroma .hl{background-color:#474733}.chroma .lnt{white-space:pre;-webkit-user-select:none;user-select:none;margin-right:.4em;padding:0 .4em;color:#8087a2}.chroma .ln{white-space:pre;-webkit-user-select:none;user-select:none;margin-right:.4em;padding:0 .4em;color:#8087a2}.chroma .line{display:flex}.chroma .k{color:#c6a0f6}.chroma .kc{color:#f5a97f}.chroma .kd{color:#ed8796}.chroma .kn{color:#8bd5ca}.chroma .kp{color:#c6a0f6}.chroma .kr{color:#c6a0f6}.chroma .kt{color:#ed8796}.chroma .n{}.chroma .na{color:#8aadf4}.chroma .nb{color:#91d7e3}.chroma .bp{color:#91d7e3}.chroma .nc{color:#eed49f}.chroma .no{color:#eed49f}.chroma .nd{color:#8aadf4;font-weight:700}.chroma .ni{color:#8bd5ca}.chroma .ne{color:#f5a97f}.chroma .nf{color:#8aadf4}.chroma .fm{color:#8aadf4}.chroma .nl{color:#91d7e3}.chroma .nn{color:#f5a97f}.chroma .nx{}.chroma .py{color:#f5a97f}.chroma .nt{color:#c6a0f6}.chroma .nv{color:#f4dbd6}.chroma .vc{color:#f4dbd6}.chroma .vg{color:#f4dbd6}.chroma .vi{color:#f4dbd6}.chroma .vm{color:#f4dbd6}.chroma .l{}.chroma .ld{}.chroma .s{color:#a6da95}.chroma .sa{color:#ed8796}.chroma .sb{color:#a6da95}.chroma .sc{color:#a6da95}.chroma .dl{color:#8aadf4}.chroma .sd{color:#6e738d}.chroma .s2{color:#a6da95}.chroma .se{color:#8aadf4}.chroma .sh{color:#6e738d}.chroma .si{color:#a6da95}.chroma .sx{color:#a6da95}.chroma .sr{color:#8bd5ca}.chroma .s1{color:#a6da95}.chroma .ss{color:#a6da95}.chroma .m{color:#f5a97f}.chroma .mb{color:#f5a97f}.chroma .mf{color:#f5a97f}.chroma .mh{color:#f5a97f}.chroma .mi{color:#f5a97f}.chroma .il{color:#f5a97f}.chroma .mo{color:#f5a97f}.chroma .o{color:#91d7e3;font-weight:700}.chroma .ow{color:#91d7e3;font-weight:700}.chroma .p{}.chroma .c{color:#6e738d;font-style:italic}.chroma .ch{color:#6e738d;font-style:italic}.chroma .cm{color:#6e738d;font-style:italic}.chroma .c1{color:#6e738d;font-style:italic}.chroma .cs{color:#6e738d;font-style:italic}.chroma .cp{color:#6e738d;font-style:italic}.chroma .cpf{color:#6e738d;font-weight:700;font-style:italic}.chroma .g{}.chroma .gd{color:#ed8796;background-color:#363a4f}.chroma .ge{font-style:italic}.chroma .gr{color:#ed8796}.chroma .gh{color:#f5a97f;font-weight:700}.chroma .gi{color:#a6da95;background-color:#363a4f}.chroma .go{}.chroma .gp{}.chroma .gs{font-weight:700}.chroma .gu{color:#f5a97f;font-weight:700}.chroma .gt{color:#ed8796}.chroma .gl{text-decoration:underline}.chroma .w{}.chroma{background-color:unset!important}.chroma .hl{display:flex}.chroma .lnt{padding:0 0 0 12px}.highlight pre.chroma code{padding:8px 0}.highlight pre.chroma .line .cl,.chroma .ln{padding:0 10px}.chroma .lntd:last-of-type{width:100%}::-webkit-scrollbar-track{background:0 0}.list:not(.dark)::-webkit-scrollbar-track{background:var(--code-bg)}::-webkit-scrollbar-thumb{background:var(--tertiary);border:5px solid var(--theme);border-radius:var(--radius)}.list:not(.dark)::-webkit-scrollbar-thumb{border:5px solid var(--code-bg)}::-webkit-scrollbar-thumb:hover{background:var(--secondary)}::-webkit-scrollbar:not(.highlighttable,.highlight table,.gist .highlight){background:var(--theme)}.post-content .highlighttable td .highlight pre code::-webkit-scrollbar{display:none}.post-content :not(table) ::-webkit-scrollbar-thumb{border:2px solid var(--code-block-bg);background:#717175}.post-content :not(table) ::-webkit-scrollbar-thumb:hover{background:#a3a3a5}.gist table::-webkit-scrollbar-thumb{border:2px solid #fff;background:#adadad}.gist table::-webkit-scrollbar-thumb:hover{background:#707070}.post-content table::-webkit-scrollbar-thumb{border-width:2px}@media screen and (min-width:768px){::-webkit-scrollbar{width:19px;height:11px}}@media screen and (max-width:768px){:root{--gap:14px}.profile img{transform:scale(.85)}.first-entry{min-height:260px}.archive-month{flex-direction:column}.archive-year{margin-top:20px}.footer{padding:calc((var(--footer-height) - var(--gap) - 10px)/2)var(--gap)}}@media screen and (max-width:900px){.list .top-link{transform:translateY(-5rem)}}@media screen and (max-width:340px){.share-buttons{justify-content:unset}}@media(prefers-reduced-motion){.terms-tags a:active,.button:active,.post-entry:active,.top-link,#searchResults .focus,#searchResults li:active{transform:none}}@charset "UTF-8";
/* VARIABLES & THEME SETTINGS */
:root {
  /* This overrides the default SANS-SERIF font */
  --font-family-s-serif: 'Inclusive Sans', 'InclusiveSans', -apple-system, BlinkMacSystemFont,
    "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans",
    "Helvetica Neue", sans-serif;
}

/* TYPOGRAPHY */
/* inclusive-sans-300 - latin */
@font-face {
  font-display: swap;
  font-family: 'Inclusive Sans';
  font-style: normal;
  font-weight: 300;
  src: url("/fonts/inclusive-sans-v4-latin-300.woff2") format("woff2");
}

/* inclusive-sans-300italic - latin */
@font-face {
  font-display: swap;
  font-family: 'Inclusive Sans';
  font-style: italic;
  font-weight: 300;
  src: url("/fonts/inclusive-sans-v4-latin-300italic.woff2") format("woff2");
}

/* inclusive-sans-regular - latin */
@font-face {
  font-display: swap;
  font-family: 'Inclusive Sans';
  font-style: normal;
  font-weight: 400;
  src: url("/fonts/inclusive-sans-v4-latin-regular.woff2") format("woff2");
}

/* inclusive-sans-italic - latin */
@font-face {
  font-display: swap;
  font-family: 'Inclusive Sans';
  font-style: italic;
  font-weight: 400;
  src: url("/fonts/inclusive-sans-v4-latin-italic.woff2") format("woff2");
}

/* inclusive-sans-500 - latin */
@font-face {
  font-display: swap;
  font-family: 'Inclusive Sans';
  font-style: normal;
  font-weight: 500;
  src: url("/fonts/inclusive-sans-v4-latin-500.woff2") format("woff2");
}

/* inclusive-sans-500italic - latin */
@font-face {
  font-display: swap;
  font-family: 'Inclusive Sans';
  font-style: italic;
  font-weight: 500;
  src: url("/fonts/inclusive-sans-v4-latin-500italic.woff2") format("woff2");
}

/* inclusive-sans-600 - latin */
@font-face {
  font-display: swap;
  font-family: 'Inclusive Sans';
  font-style: normal;
  font-weight: 600;
  src: url("/fonts/inclusive-sans-v4-latin-600.woff2") format("woff2");
}

/* inclusive-sans-600italic - latin */
@font-face {
  font-display: swap;
  font-family: 'Inclusive Sans';
  font-style: italic;
  font-weight: 600;
  src: url("/fonts/inclusive-sans-v4-latin-600italic.woff2") format("woff2");
}

/* inclusive-sans-700 - latin */
@font-face {
  font-display: swap;
  font-family: 'Inclusive Sans';
  font-style: normal;
  font-weight: 700;
  src: url("/fonts/inclusive-sans-v4-latin-700.woff2") format("woff2");
}

/* inclusive-sans-700italic - latin */
@font-face {
  font-display: swap;
  font-family: 'Inclusive Sans';
  font-style: italic;
  font-weight: 700;
  src: url("/fonts/inclusive-sans-v4-latin-700italic.woff2") format("woff2");
}

body {
  font-size: 1.125rem;
  line-height: 1.6;
  font-family: var(--font-family-s-serif);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  scroll-margin-top: 1.5rem;
}

p {
  margin-bottom: 1.5rem;
}

.post-content {
  font-size: 1.125rem;
  line-height: 1.75;
}

.post-content img {
  border: 1px solid var(--border-color);
  border-radius: 4px;
}

.post-content a {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.post-content a:hover,
.post-content a:focus {
  text-decoration-style: solid;
  color: var(--primary);
}

pre {
  white-space: pre-wrap;
}

.post-content pre code {
  word-break: normal;
}

.copy-code {
  background: #eaa178;
}

/* LAYOUT & STRUCTURE */
main {
  max-width: 1200px !important;
}

article {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.first-entry.home-info {
  padding-bottom: 0;
  min-height: 0;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.first-entry .entry-content {
  font-size: 1.2rem;
}

/* FOOTER */
.footer-links {
  text-align: center;
  margin-top: 20px;
  font-size: 0.9rem;
}

.footer-links a {
  color: var(--secondary);
  text-decoration: none;
  margin: 0 10px;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* NAVIGATION */
.skip-link {
  position: absolute;
  top: -40px;
  left: 20px;
  background: var(--primary);
  color: var(--entry);
  padding: 8px 16px;
  border-radius: 4px;
  transition: top 0.2s ease;
  z-index: 1000;
}

.skip-link:focus {
  top: 20px;
}

#menu .nav-cta {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 600;
  margin-left: 10px;
}

#menu .nav-cta--primary {
  background-color: var(--primary);
  color: var(--entry);
}

#menu .nav-cta--primary:hover {
  background-color: var(--secondary);
}

#menu .nav-cta--outline {
  border: 2px solid var(--primary);
  color: var(--primary);
}

#menu .nav-cta--outline:hover {
  background-color: var(--primary);
  color: var(--entry);
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  border-radius: 999px;
  padding: 0.35rem 1rem;
  font-weight: 600;
  cursor: pointer;
}

.menu-toggle:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

.menu-toggle__icon {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
}

.menu-toggle__icon span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

.menu-toggle__label {
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Mobile Navigation */
@media (max-width: 860px) {
  .nav {
    position: relative;
  }
  .menu-toggle {
    display: inline-flex !important;
    z-index: 100;
    position: relative;
  }
  #menu {
    display: none !important;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    padding-top: 1rem;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--entry);
    z-index: 99;
    margin: 0;
    padding: 1rem var(--gap);
    border-top: 1px solid var(--border);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  /* Dark mode shadow for mobile menu */
}

@media (max-width: 860px) and (prefers-color-scheme: dark) {
  #menu {
    box-shadow: 0 4px 6px rgba(255, 255, 255, 0.1);
  }
}

@media (max-width: 860px) {
  body.menu-open #menu {
    display: flex !important;
  }
  #menu li {
    margin: 0 !important;
    text-align: center;
    width: 100%;
    position: relative;
  }
  #menu li + li {
    margin-inline-start: 0 !important;
  }
  #menu li a {
    display: block !important;
    width: 100%;
    padding: 12px 16px;
    min-height: 44px;
    -webkit-tap-highlight-color: rgba(81, 171, 241, 0.2);
    position: relative;
    z-index: 1;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-user-select: none;
    user-select: none;
    outline: none !important;
    border: none !important;
  }
  #menu li a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 4px;
    border-radius: 12px;
  }
  #menu li a:focus,
#menu li a:active {
    outline: none;
  }
  #menu li a:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 3px;
  }
  #menu li a span {
    pointer-events: none;
    display: block;
    border-bottom: none !important;
  }
  #menu .active {
    border-bottom: none !important;
    font-weight: 500;
  }
  #menu .nav-cta {
    display: block;
    margin-left: 0;
    width: 100%;
    text-align: center;
    padding: 10px 20px;
  }
  /* Remove hover effects on touch devices */
}

@media (max-width: 860px) and (hover: none) {
  #menu li a:hover {
    background-color: transparent;
  }
}

/* Buttons */
.button {
  display: inline-block;
  padding: 10px 20px;
  margin-top: 1.5rem;
  background-color: #2962ff;
  color: #ffffff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  transition: background-color 0.2s ease;
  border: 2px solid transparent;
}

.button:hover {
  background-color: #0041f5;
  color: #ffffff;
}

.button--secondary {
  background-color: transparent;
  color: #2962ff;
  border-color: #2962ff;
}

.button--secondary:hover {
  background-color: #2962ff;
  color: #ffffff;
}

/* Post Content */
.post-entry .post-meta {
  font-size: 0.85rem;
  color: var(--secondary);
}

.post-entry .post-categories a {
  background-color: transparent;
  color: var(--secondary);
  padding: 0;
  border-radius: 0;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: .5px;
}

.post-single .post-tags a {
  display: inline-block;
  margin-right: 8px;
  margin-bottom: 8px;
  padding: 5px 12px;
  background-color: var(--tertiary);
  color: var(--primary);
  border-radius: 15px;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.post-single .post-tags a:hover {
  background-color: var(--secondary);
}

/* Code Block Headers */
.post-content .highlight {
  position: relative;
  margin-top: 2.25rem;
  background: var(--code-bg);
  border-radius: 8px;
  border: 1px solid var(--border);
  padding-top: 30px;
}

.post-content .highlight::before {
  content: "Code";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: block;
  background: var(--tertiary);
  color: var(--primary);
  padding: 5px 15px;
  font-size: 0.85rem;
  font-family: var(--font-family-s-serif);
  border-bottom: 1px solid var(--border);
  font-weight: 600;
  z-index: 1;
}

.post-content .highlight pre {
  margin: 0;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

/* Path Boxes */
.path-box {
  margin: 2.5rem 0;
  margin: 3rem 0;
  padding: 1.5rem;
  border-radius: 16px;
  border: 2px solid var(--primary);
  background: var(--entry);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.path-box h2 {
  margin-top: 0;
  margin-bottom: 1.5rem;
  font-size: 1.75rem;
  letter-spacing: 0.02em;
}

.path-box__content > *:first-child {
  margin-top: 0;
}

.path-box__content > *:last-child {
  margin-bottom: 0;
}

.path-box--quick {
  border-color: var(--secondary);
  background: rgba(81, 171, 241, 0.05);
}

.path-box--full {
  border-color: var(--primary);
  background: rgba(170, 121, 255, 0.05);
}

/* Dark Mode Overrides */
@media (prefers-color-scheme: dark) {
  .path-box {
    box-shadow: 0 12px 24px rgba(255, 255, 255, 0.08);
  }
}

/* Forms */
.subscribe-form {
  display: grid;
  gap: 1rem;
  max-width: 420px;
  margin: 2rem 0;
}

.subscribe-form label {
  font-weight: 600;
}

.subscribe-form input[type="email"] {
  padding: 0.75rem 1rem;
  border: 2px solid var(--primary);
  border-radius: 8px;
  background: var(--entry);
  color: var(--primary);
}

.subscribe-form button {
  padding: 0.85rem 1.5rem;
  border: none;
  border-radius: 999px;
  background: var(--primary);
  color: var(--entry);
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.subscribe-form button:hover,
.subscribe-form button:focus {
  background: var(--secondary);
  outline: none;
}

.form-note {
  font-size: 0.9rem;
  color: var(--secondary);
}

/* Pagination */
.paginav {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 3rem;
  padding: 1.5rem;
  border: 2px solid var(--primary);
  border-radius: 12px;
}

.paginav a {
  flex: 1;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  color: var(--primary);
}

.paginav .title {
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--primary);
}

.paginav .link-text {
  color: var(--content, var(--primary));
  font-size: 1rem;
  line-height: 1.4;
}

/* Crisis Cue */
.crisis-cue {
  background: var(--code-bg);
  border-left: 4px solid #dc2626;
  padding: 1.5rem;
  margin: 1.5rem 0;
  border-radius: 4px;
}

.crisis-cue h2 {
  color: #dc2626;
  margin-top: 0;
  font-size: 1.5rem;
}

.crisis-cue__content {
  margin-top: 1rem;
}

.crisis-cue pre {
  background: var(--entry);
  border: 1px solid var(--border);
}

.dark .crisis-cue h2 {
  color: #f87171;
}

/* Accordion */
.shortcode-accordion {
  margin: 20px 0;
  border: 1px solid var(--card-border);
  border-radius: var(--card-border-radius);
  overflow: hidden;
}

.shortcode-accordion-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  cursor: pointer;
  font-weight: 600;
  background: var(--code-bg);
  list-style: none;
}

.shortcode-accordion-title::-webkit-details-marker {
  display: none;
}

.shortcode-accordion-content {
  padding: 15px 15px 0;
  border-top: 1px solid var(--card-border);
}

.shortcode-accordion-content pre {
  margin-bottom: 0;
}

.accordion-indicator {
  font-size: 1.5em;
  line-height: 1;
  font-weight: 300;
  transition: transform 0.2s ease-in-out;
  margin-left: auto;
}

.accordion-indicator::before {
  content: '+';
}

.shortcode-accordion[open] > .shortcode-accordion-title .accordion-indicator::before {
  content: '−';
}

/* Grid */
.shortcode-grid {
  display: grid;
  grid-template-columns: repeat(var(--grid-cols, 2), 1fr);
  gap: 20px;
  margin: 20px 0;
}

/* Responsive Grid */
@media (max-width: 768px) {
  .shortcode-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .shortcode-grid {
    grid-template-columns: 1fr;
  }
}

/* Cards */
.shortcode-card {
  display: block;
  position: relative;
  background: #1e1e1e;
  color: #ffffff;
  border: 1px solid transparent;
  border-top: 3px solid #2962ff;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.shortcode-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.shortcode-card-image {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.shortcode-card-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.shortcode-card-title {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  transition: color 0.3s ease;
}

.card-description {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
  margin-top: auto;
}

.card-meta span + span::before {
  content: none;
}

.card-meta .card-category {
  background: rgba(41, 98, 255, 0.2);
  color: #82b1ff;
  padding: 4px 10px;
  border-radius: 99px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.card-meta .card-difficulty {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Dark Mode Overrides -> Light Card */
@media (prefers-color-scheme: dark) {
  .shortcode-card {
    background: #f5f5f5;
    color: #1e1e1e;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  }
  .shortcode-card:hover {
    box-shadow: 0 12px 24px rgba(41, 98, 255, 0.2);
  }
  .shortcode-card .shortcode-card-title {
    color: #1e1e1e;
  }
  .shortcode-card:hover .shortcode-card-title {
    color: #2962ff;
  }
  .card-description {
    color: #4a4a4a;
  }
  .shortcode-card-image {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }
  .card-meta .card-category {
    background: rgba(41, 98, 255, 0.1);
    color: #2962ff;
  }
  .card-meta .card-difficulty {
    background: rgba(0, 0, 0, 0.1);
    color: #1e1e1e;
  }
}

body.dark .shortcode-card {
  background: #f5f5f5;
  color: #1e1e1e;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

body.dark .shortcode-card:hover {
  box-shadow: 0 12px 24px rgba(41, 98, 255, 0.2);
}

body.dark .shortcode-card .shortcode-card-title {
  color: #1e1e1e;
}

body.dark .shortcode-card:hover .shortcode-card-title {
  color: #2962ff;
}

body.dark .card-description {
  color: #4a4a4a;
}

body.dark .shortcode-card-image {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

body.dark .card-meta .card-category {
  background: rgba(41, 98, 255, 0.1);
  color: #2962ff;
}

body.dark .card-meta .card-difficulty {
  background: rgba(0, 0, 0, 0.1);
  color: #1e1e1e;
}

/* Timeline */
.shortcode-timeline-alternating {
  position: relative;
  width: 90%;
  margin: 20px auto;
}

.shortcode-timeline-alternating::before {
  content: '';
  position: absolute;
  left: 50%;
  margin-left: -1px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--card-border);
}

.shortcode-timeline-item {
  position: relative;
  margin-bottom: 25px;
}

.shortcode-timeline-item::before {
  content: '';
  position: absolute;
  left: 50%;
  margin-left: -8px;
  top: 5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--dot-color, var(--primary));
  border: 2px solid var(--code-bg);
  z-index: 1;
}

.shortcode-timeline-item:nth-child(odd) .shortcode-timeline-content {
  width: 45%;
  left: 0;
  text-align: right;
}

.shortcode-timeline-item:nth-child(even) .shortcode-timeline-content {
  width: 45%;
  left: 55%;
}

.shortcode-timeline-content {
  position: relative;
}

.shortcode-timeline-image {
  width: 100%;
  border-radius: var(--card-border-radius);
  margin-bottom: 10px;
}

.shortcode-timeline-date {
  font-weight: 600;
  color: var(--secondary);
  font-size: 0.9em;
  margin: 0;
}

.shortcode-timeline-title {
  margin: 5px 0 10px 0;
}

.shortcode-timeline-icon {
  position: absolute;
  left: 50%;
  margin-left: -14px;
  top: 0;
  width: 28px;
  text-align: center;
  font-size: 1.5em;
  line-height: 1;
  z-index: 2;
}

.shortcode-timeline-item:has(.shortcode-timeline-icon)::before {
  display: none;
}

/* Responsive Timeline */
@media (max-width: 768px) {
  .shortcode-timeline-alternating {
    width: 100%;
    padding-left: 30px;
    margin-left: 0;
  }
  .shortcode-timeline-alternating::before {
    left: 10px;
    margin-left: 0;
  }
  .shortcode-timeline-item::before,
.shortcode-timeline-icon {
    left: 10px;
    margin-left: -8px;
  }
  .shortcode-timeline-icon {
    margin-left: -14px;
  }
  .shortcode-timeline-item:nth-child(odd) .shortcode-timeline-content,
.shortcode-timeline-item:nth-child(even) .shortcode-timeline-content {
    width: auto;
    left: 0;
    text-align: left;
  }
}

/* VCC Insights Shortcode (Candlelight Theme) */
.vcc-insights-card {
  background: #121212;
  border-left: 4px solid #98c379;
  /* Green Accent */
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 4px;
  font-family: var(--font-family-s-serif);
  color: #ebd2be !important;
  /* Warm Beige */
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.vcc-insights-card .vcc-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-weight: bold;
  color: #98c379;
  /* Green Accent */
  font-size: 1.1rem;
  border-bottom: 1px solid rgba(235, 210, 190, 0.1);
  padding-bottom: 0.5rem;
}

.vcc-insights-card .vcc-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.vcc-insights-card .vcc-stat {
  display: flex;
  flex-direction: column;
}

.vcc-insights-card .vcc-stat .label {
  font-size: 0.75rem;
  color: #a6accd;
  /* Lavender */
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.vcc-insights-card .vcc-stat .value {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ebd2be;
}

.vcc-insights-card .vcc-stat .text-mono {
  font-family: monospace;
  font-size: 0.9rem;
  opacity: 0.8;
  font-weight: normal;
}

/* HERO & HOMEPAGE */
.hero-section {
  text-align: center;
  padding: 20px 40px;
  margin-top: -30px;
  margin-bottom: 3rem;
  background: var(--background);
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.hero-section__inner {
  max-width: 720px;
  margin: 0 auto;
}

.hero-section h1 {
  font-size: 2.75rem;
  margin-bottom: 10px;
}

.hero-lede {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.hero-cta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.home-section {
  max-width: 960px;
  margin: 0 auto 3rem auto;
  padding: 0 1rem;
}

.home-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.home-audience__list {
  list-style: disc;
  padding-left: 1.25rem;
  font-size: 1.1rem;
  line-height: 1.7;
}

.home-section .shortcode-grid {
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.home-section .shortcode-card-content ul {
  list-style: disc;
  padding-left: 1.2rem;
  margin-bottom: 0;
}

.home-section .shortcode-card-content li + li {
  margin-top: 0.35rem;
}

.home-about__link {
  font-weight: 600;
  text-decoration: none;
}

.home-about__link:hover,
.home-about__link:focus {
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.home-subscribe {
  text-align: center;
  background: var(--entry);
  padding: 2.5rem 1.5rem;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.home-subscribe__actions {
  margin-top: 1.75rem;
}

.kit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.kit-card {
  display: flex;
  align-items: center;
  padding: 1.5rem;
  border-radius: 16px;
  background: #1e1e1e;
  color: #ffffff !important;
  border: 1px solid transparent;
  border-top: 3px solid var(--primary);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none !important;
  position: relative;
  overflow: hidden;
}

.kit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.kit-icon {
  font-size: 2.5rem;
  margin-right: 1rem;
}

.kit-content h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
}

.kit-content p {
  margin: 0.25rem 0 0 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.3;
}

.kit-card.urgent {
  border-top-color: #e06c75;
}

.kit-card.urgent:hover {
  box-shadow: 0 12px 24px rgba(224, 108, 117, 0.25);
}

.kit-card.action {
  border-top-color: #e5c07b;
}

.kit-card.action:hover {
  box-shadow: 0 12px 24px rgba(229, 192, 123, 0.25);
}

.kit-card.automation {
  border-top-color: #61afef;
}

.kit-card.automation:hover {
  box-shadow: 0 12px 24px rgba(97, 175, 239, 0.25);
}

@media (prefers-color-scheme: dark) {
  .kit-card {
    background: #f5f5f5;
    color: #1e1e1e !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  }
  .kit-card:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
  }
  .kit-content h3 {
    color: #1e1e1e;
  }
  .kit-content p {
    color: var(--secondary);
  }
}

body.dark .kit-card {
  background: #f5f5f5;
  color: #1e1e1e !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

body.dark .kit-card:hover {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

body.dark .kit-content h3 {
  color: #1e1e1e;
}

body.dark .kit-content p {
  color: var(--secondary);
}

/* --- PREMIUM LIST STYLES (The "Glow Up") for .post-entry --- */
/* Grid Layout for Lists */
.grid-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  padding: 1rem 0;
}

/* Base Card Style for Post Entries (Matching .shortcode-card / .kit-card) */
.post-entry {
  background: #1e1e1e;
  color: #ffffff;
  border: 1px solid transparent;
  border-top: 3px solid #2962ff;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.post-entry:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

/* Header Styling */
.post-entry .entry-header h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.3;
  color: #ffffff;
  display: inline-block;
}

/* Summary Text */
.post-entry .entry-content p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  flex-grow: 1;
}

/* Footer / Meta Data */
.post-entry .entry-footer {
  margin-top: 1.5rem;
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: var(--secondary);
}

.entry-hint {
  background: rgba(41, 98, 255, 0.2);
  color: #82b1ff;
  padding: 0.25rem 0.75rem;
  border-radius: 99px;
  border: none;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

/* Link Covering Card */
.post-entry .entry-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
}

/* Dark Mode Overrides for .post-entry -> Light Card */
@media (prefers-color-scheme: dark) {
  .post-entry {
    background: #f5f5f5 !important;
    color: #1e1e1e !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  }
  .post-entry:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
  }
  .post-entry .entry-header h2 {
    color: #1e1e1e !important;
    transition: color 0.3s ease;
  }
  .post-entry:hover .entry-header h2 {
    color: #2962ff !important;
  }
  .post-entry .entry-content p {
    color: #4a4a4a !important;
  }
  .entry-hint {
    background: rgba(41, 98, 255, 0.1);
    color: #2962ff;
  }
}

body.dark .post-entry {
  background: #f5f5f5 !important;
  color: #1e1e1e !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

body.dark .post-entry:hover {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

body.dark .post-entry .entry-header h2 {
  color: #1e1e1e !important;
  transition: color 0.3s ease;
}

body.dark .post-entry:hover .entry-header h2 {
  color: #2962ff !important;
}

body.dark .post-entry .entry-content p {
  color: #4a4a4a !important;
}

body.dark .entry-hint {
  background: rgba(41, 98, 255, 0.1);
  color: #2962ff;
}
/* Filter Pill Styling */
.filter-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--theme);
  padding: 1rem 0;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.filter-pills {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  -webkit-overflow-scrolling: touch;
  /* Hide scrollbar */
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.filter-pills::-webkit-scrollbar {
  display: none;
}

.filter-pill {
  white-space: nowrap;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: var(--entry);
  cursor: pointer;
  /* Use content color for text to ensure visibility against entry background */
  color: var(--content);
  transition: all 0.2s ease;
}

.filter-pill:hover {
  border-color: var(--primary);
}

.filter-pill.active {
  background: var(--primary);
  color: var(--theme);
  /* Text becomes background color (usually white/dark inverse) */
  border-color: var(--primary);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- DASHBOARD STYLES --- */

/* Hero / Narrative Section */
.first-entry-home {
  animation: fadeIn 0.8s ease;
  padding: 2rem 1rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 4rem !important;
  /* Force space before Crash Kit */
}

.first-entry-home .entry-title {
  background: linear-gradient(to right, var(--primary), var(--secondary));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Social Icons in Hero */
.first-entry-home .social-icons {
  margin-top: 1.5rem;
  justify-content: center;
}

/* Typography Bump */
body {
  font-size: 18px;
  /* Increased from default for readability */
}

.dashboard-container {
  max-width: 900px;
  /* Focus width */
  margin: 0 auto;
  padding-top: 1rem;
}

.section-title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

/* Crash Kit (Emergency Row) */
.crash-kit {
  margin-bottom: 4rem;
}

/* Crash Kit styles moved to SCSS */

/* Energy Feed */
.energy-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  gap: 1rem;
}

.energy-toggle {
  display: flex;
  background: var(--entry);
  padding: 0.25rem;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.energy-btn {
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--secondary);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
}

.energy-btn span {
  font-size: 0.8em;
}

.energy-btn:hover {
  color: var(--primary);
}

.energy-btn.active {
  background: var(--primary);
  color: var(--theme);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Feed Content */
.feed-desc {
  font-style: italic;
  color: var(--secondary);
  margin-bottom: 1.5rem;
}

.feed-content {
  animation: fadeIn 0.4s ease;
}

/* Dashboard Entry Partial */
.dashboard-entry {
  margin-bottom: 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  background: var(--entry);
  transition: border-color 0.2s;
}

.dashboard-entry:hover {
  border-color: var(--primary);
}

.dashboard-entry .entry-header h2 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.dashboard-entry .entry-content p {
  font-size: 1rem;
  line-height: 1.5;
}

.entry-meta {
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* --- PREMIUM LIST STYLES (The "Glow Up") --- */

/* Grid Layout for Lists */
.grid-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  padding: 1rem 0;
}

/* Base Card Style for Post Entries */
.post-entry {
  background: var(--entry);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Hover Effect: Lift & Glow */
.post-entry:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 12px 24px -10px rgba(0, 0, 0, 0.3);
}

/* Header Styling */
.post-entry .entry-header h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.3;
  color: var(--primary);
  background: linear-gradient(120deg, var(--primary), var(--secondary));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Keep text readable on hover (optional override if gradient is too subtle) */
.post-entry:hover .entry-header h2 {
  -webkit-text-fill-color: var(--primary);
}

/* Summary Text */
.post-entry .entry-content p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--content);
  opacity: 0.9;
  flex-grow: 1;
  /* Pushes footer down */
}

/* Footer / Meta Data */
.post-entry .entry-footer {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: var(--secondary);
}

.entry-hint {
  background: rgba(255, 255, 255, 0.05);
  padding: 0.25rem 0.75rem;
  border-radius: 99px;
  border: 1px solid var(--border);
}

/* Link Covering Card */
.post-entry .entry-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
}

/* Lead Paragraph */
.lead {
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: var(--content);
  opacity: 0.9;
}

/* --- TABS SHORTCODE (Pure CSS, No JavaScript) --- */
.tabs-container {
  margin: 2rem 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--entry);
}

/* Hide radio buttons */
.tab-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.tabs-nav {
  display: flex;
  flex-wrap: wrap;
  background: var(--theme);
  border-bottom: 2px solid var(--border);
}

/* Tab labels act as buttons */
.tab-label {
  flex: 1;
  min-width: fit-content;
  padding: 1rem 1.5rem;
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  text-align: center;
  user-select: none;
}

.tab-label:hover {
  color: var(--primary);
  background: rgba(0, 0, 0, 0.05);
}

/* Active tab styling */
.tab-radio:checked + .tab-label {
  color: var(--primary);
  border-bottom-color: var(--primary);
  background: var(--entry);
}

.tab-icon {
  margin-right: 0.5rem;
  font-size: 1.1em;
}

/* Tab content - hidden by default */
.tab-content {
  display: none;
  padding: 1.5rem;
  animation: fadeIn 0.3s ease;
}

/* Show content when corresponding radio is checked */
.tab-radio:checked ~ .tab-content {
  display: block;
}

/* Code blocks inside tabs - remove extra margin */
.tab-content > div > pre:first-child,
.tab-content > pre:first-child {
  margin-top: 0;
}

.tab-content > div > pre:last-child,
.tab-content > pre:last-child {
  margin-bottom: 0;
}

/* Responsive */
@media (max-width: 640px) {
  .tab-label {
    font-size: 0.85rem;
    padding: 0.75rem 1rem;
  }

  .tabs-nav {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .tabs-nav::-webkit-scrollbar {
    display: none;
  }
}
/* CSS for shortcuts-table shortcode */

.key {
    display: inline-block;
    padding: 3px 6px;
    background: #F5F5F5;
    border: 1px solid #D6D6D6;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    white-space: nowrap;
}

.plus {
    margin: 0 4px;
    color: #6C6C6C;
}

.shortcuts-table h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
}

.shortcuts-table p {
    font-size: 16px;
    margin-bottom: 16px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
    table-layout: fixed;
}

.action-col {
    width: 50%;
}

.windows-col,
.macos-col {
    width: 25%;
}

thead th {
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    color: #1E1E1E;
    padding: 12px;
    border-bottom: 1px solid #EEEEEE;
}

tbody td {
    padding: 14px 12px;
    font-size: 16px;
    color: #1E1E1E;
    border-bottom: 1px solid #EEEEEE;
}

tbody tr:last-child td {
    border-bottom: none;
}

tbody td:first-child {
    font-weight: 500;
}

/* Dark mode styles for shortcuts-table */

.dark .key {
    background: #2E2E2E;
    border-color: #444444;
    color: #E0E0E0;
}

.dark .plus {
    color: #9E9E9E;
}

.dark .shortcuts-table h2,
.dark .shortcuts-table p {
    color: #E0E0E0;
}

.dark thead th {
    color: #E0E0E0;
    border-bottom-color: #444444;
}

.dark tbody td {
    color: #E0E0E0;
    border-bottom-color: #444444;
}

/* Responsive styles for shortcuts-table */

@media (max-width: 768px) {
    .shortcuts-table table {
        display: block;
        width: 100%;
    }

    .shortcuts-table thead {
        display: none;
    }

    .shortcuts-table tbody {
        display: block;
        width: 100%;
    }

    .shortcuts-table tr {
        display: block;
        width: 100%;
        margin-bottom: 15px;
        border-bottom: 1px solid #ccc;
        padding-bottom: 15px;
    }

    .shortcuts-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 10px;
        text-align: right;
        border-bottom: 1px solid #eee;
    }

    .post-content .shortcuts-table table td:last-child {
        border-bottom: 0;
    } 

    .shortcuts-table td:before {
        content: attr(data-label);
        font-weight: bold;
        text-align: left;
        padding-right: 10px;
    }

    .shortcuts-table td:last-child {
        border-bottom: 0;
    }
}
/*
This is just a placeholder blank stylesheet so as to support adding custom styles budled with theme's default styles

Read https://github.com/adityatelange/hugo-PaperMod/wiki/FAQs#bundling-custom-css-with-themes-assets for more info
*/
