/* Base */
/* ----------------------------------------------------------*/

* {
  margin: 0;
  padding: 0;
}

html, body { height: 100%; }

body {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 300;
  background-color: #141414;
  color: #c5c5c5;
}

h1, h2, h3, h4, h5, h6 { font-size: 100%; font-weight: 400; color: #ffffff; }

/* Bold text styling */
strong, b {
  font-weight: bold !important;
  color: #ffffff;
}

/* Bold text in post content */
.post-content strong,
.post-content b,
.post strong,
.post b {
  font-weight: bold !important;
  color: #ffffff;
}

a         { color: #ffffff; text-decoration: none; }
a:hover   { color: #000; text-decoration: underline; }
a:visited { color: #ffffff; }

/* Utility */

.wrap:before,
.wrap:after { content:""; display:table; }
.wrap:after { clear: both; }
.wrap {
  max-width: 800px;
  padding: 0 30px;
  margin: 0 auto;
  zoom: 1;
}


/* Layout Styles */
/* ----------------------------------------------------------*/

/* Site header */

.site-header {
  border-top: 5px solid #333;
  border-bottom: 1px solid #e8e8e8;
  min-height: 56px;
  background-color: white;
}

.site-title,
.site-title:hover,
.site-title:visited {
  display: block;
  color: #ffffff;
  font-size: 26px;
  letter-spacing: -1px;
  float: left;
  line-height: 56px;
  position: relative;
  z-index: 1;
}

.site-nav {
  float: right;
  line-height: 56px;
}

.site-nav .menu-icon { display: none; }

.site-nav .page-link {
  margin-left: 20px;
  color: #ffffff;
  letter-spacing: -.5px;
}

/* Site footer */

.site-footer,
footer.site-footer,
.site-footer:not(#fake-id) {
    text-align: center !important;
    padding: 5px 0 5px 0 !important;  /* Reduced from 10px to 5px */
    border: none !important;
    border-top: 5px solid #333 !important;
    margin: 0 !important;
    width: 100% !important;
}

.footer-heading {
  font-size: 18px;
  font-weight: 300;
  letter-spacing: -.5px;
  margin-bottom: 15px;
}

.site-footer .column,
.footer-col-1,
.footer-col-2,
.footer-col-3,
.site-footer .footer-col-1,
.site-footer .footer-col-2,
.site-footer .footer-col-3 {
  float: none !important;
  display: block !important;
  margin: 0 auto !important;
  text-align: center !important;
  width: 100% !important;
  padding: 10px 0 !important;
  clear: both !important;
  border: none !important;
  border-top: none !important;
}

.site-footer ul,
.site-footer p,
.footer-heading {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
}

.site-footer ul { list-style: none; }

.site-footer li,
.site-footer p {
  font-size: 15px;
  letter-spacing: -.3px;
  color: #ffffff;
}

.github-icon-svg,
.twitter-icon-svg {
  display: inline-block !important;
  width: 22px;
  height: 22px;
  position: relative;
  top: 3px;
  margin: 0 10px !important;
}


/* Page Content styles */
/* ----------------------------------------------------------*/

.page-content {
  padding: 30px 0;
  background-color: #fff;
}


/* Home styles */
/* ----------------------------------------------------------*/

.home h1 { margin-bottom: 25px; }

.posts { list-style-type: none; }

.posts li { margin-bottom: 30px; }

.posts .post-link {
  font-size: 20px;
  letter-spacing: -1px;
  line-height: 1;
}

.posts .post-date {
  display: block;
  font-size: 15px;
  color: #ffffff;
}


/* Post styles */
/* ----------------------------------------------------------*/

.post-header { margin: 10px 0 30px; }

.post-header h1 {
  font-size: 36px;
  letter-spacing: -1.75px;
  line-height: 1;
  font-weight: 300;
}

.post-header .meta {
  font-size: 15px;
  color: #ffffff;
  margin-top: 5px;
}

.post-content { margin: 0 0 30px; }

.post-content > * { margin: 20px 0; }


.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
  line-height: 1;
  font-weight: 300;
  margin: 40px 0 20px;
}

.post-content h2 {
  font-size: 32px;
  letter-spacing: -1.25px;
}

.post-content h3 {
  font-size: 26px;
  letter-spacing: -1px;
}

.post-content h4 {
  font-size: 20px;
  letter-spacing: -1px;
}

.post-content blockquote {
  border-left: 4px solid #e8e8e8;
  padding-left: 20px;
  font-size: 18px;
  opacity: .6;
  letter-spacing: -1px;
  font-style: italic;
  margin: 30px 0;
}

.post-content ul,
.post-content ol { padding-left: 20px; }

.post pre,
.post code,
div.highlight,
.highlight pre,
.highlighter-rouge .highlight {
  border: 1px solid #333333 !important;
  background-color: #1e1e1e !important;
  color: #c5c5c5 !important;
  padding: 8px 12px !important;
  border-radius: 3px !important;
  font-size: 15px !important;
  overflow: auto !important;
}

.post pre code,
.highlight pre code {
  border: none !important;
  padding: 0 !important;
  background-color: transparent !important;
}

.post ul,
.post ol { margin-left: 1.35em; }

.post pre code {
  border: 0;
  padding-right: 0;
  padding-left: 0;
}

/* terminal */
.post pre.terminal,
.post pre.terminal code {
  background-color: #1e1e1e !important;
  color: #FFF !important;
  border: 1px solid #000 !important;
}

.post pre.terminal code {
  background-color: #1e1e1e;
}

/* AK custom CSS mods */
.imgright { float: right; margin-left: 10px; }
.imgcap img {
  border: 1px solid #999;
  max-width: 100%;
}
.imgcap {
  color: #555;
  font-size: 14px;
  text-align: center;
}

.svgdiv {
  width: 100%;
  text-align: center;
}
/* Syntax highlighting styles */
/* ----------------------------------------------------------*/

/* Override ALL highlight backgrounds */
.highlight,
.highlight pre,
.highlight code,
.highlighter-rouge,
.highlighter-rouge .highlight,
.highlighter-rouge pre,
.highlighter-rouge code,
pre.highlight,
code.highlight,
.language-plaintext,
.language-markdown,
.language-html,
.language-css,
.language-javascript,
.language-ruby,
.language-python,
div.highlight,
pre.highlight code,
figure.highlight {
    background: #1e1e1e !important;
    background-color: #1e1e1e !important;
    color: #c5c5c5 !important;
    border: 1px solid #333333 !important;
}

/* Force ALL elements inside highlights to have the same background */
.highlight *,
.highlighter-rouge *,
pre.highlight *,
code.highlight * {
    background: #1e1e1e !important;
    background-color: #1e1e1e !important;
}

/* Inline code */
code.highlighter-rouge {
    background: #1e1e1e !important;
    background-color: #1e1e1e !important;
    color: #c5c5c5 !important;
    border: 1px solid #333333 !important;
    padding: 2px 5px !important;
}

/* Keep the syntax highlighting colors */
.highlight .c { color: #999988; font-style: italic } /* Comment */
.highlight .err { color: #a61717; background-color: transparent !important } /* Error */
.highlight .k { color: #ffffff; font-weight: bold } /* Keyword */
.highlight .o { font-weight: bold } /* Operator */
.highlight .cm { color: #999988; font-style: italic } /* Comment.Multiline */
.highlight .cp { color: #999999; font-weight: bold } /* Comment.Preproc */
.highlight .c1 { color: #999988; font-style: italic } /* Comment.Single */
.highlight .cs { color: #999999; font-weight: bold; font-style: italic } /* Comment.Special */
.highlight .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
.highlight .gd .x { color: #000000; background-color: #ffaaaa } /* Generic.Deleted.Specific */
.highlight .ge { font-style: italic } /* Generic.Emph */
.highlight .gr { color: #aa0000 } /* Generic.Error */
.highlight .gh { color: #999999 } /* Generic.Heading */
.highlight .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
.highlight .gi .x { color: #000000; background-color: #aaffaa } /* Generic.Inserted.Specific */
.highlight .go { color: #888888 } /* Generic.Output */
.highlight .gp { color: #555555 } /* Generic.Prompt */
.highlight .gs { font-weight: bold } /* Generic.Strong */
.highlight .gu { color: #aaaaaa } /* Generic.Subheading */
.highlight .gt { color: #aa0000 } /* Generic.Traceback */
.highlight .kc { font-weight: bold } /* Keyword.Constant */
.highlight .kd { font-weight: bold } /* Keyword.Declaration */
.highlight .kp { font-weight: bold } /* Keyword.Pseudo */
.highlight .kr { font-weight: bold } /* Keyword.Reserved */
.highlight .kt { color: #445588; font-weight: bold } /* Keyword.Type */
.highlight .m { color: #009999 } /* Literal.Number */
.highlight .s { color: #d14 } /* Literal.String */
.highlight .na { color: #008080 } /* Name.Attribute */
.highlight .nb { color: #0086B3 } /* Name.Builtin */
.highlight .nc { color: #445588; font-weight: bold } /* Name.Class */
.highlight .no { color: #008080 } /* Name.Constant */
.highlight .ni { color: #800080 } /* Name.Entity */
.highlight .ne { color: #990000; font-weight: bold } /* Name.Exception */
.highlight .nf { color: #990000; font-weight: bold } /* Name.Function */
.highlight .nn { color: #555555 } /* Name.Namespace */
.highlight .nt { color: #000080 } /* Name.Tag */
.highlight .nv { color: #008080 } /* Name.Variable */
.highlight .ow { font-weight: bold } /* Operator.Word */
.highlight .w { color: #bbbbbb } /* Text.Whitespace */
.highlight .mf { color: #009999 } /* Literal.Number.Float */
.highlight .mh { color: #009999 } /* Literal.Number.Hex */
.highlight .mi { color: #009999 } /* Literal.Number.Integer */
.highlight .mo { color: #009999 } /* Literal.Number.Oct */
.highlight .sb { color: #d14 } /* Literal.String.Backtick */
.highlight .sc { color: #d14 } /* Literal.String.Char */
.highlight .sd { color: #d14 } /* Literal.String.Doc */
.highlight .s2 { color: #d14 } /* Literal.String.Double */
.highlight .se { color: #d14 } /* Literal.String.Escape */
.highlight .sh { color: #d14 } /* Literal.String.Heredoc */
.highlight .si { color: #d14 } /* Literal.String.Interpol */
.highlight .sx { color: #d14 } /* Literal.String.Other */
.highlight .sr { color: #009926 } /* Literal.String.Regex */
.highlight .s1 { color: #d14 } /* Literal.String.Single */
.highlight .ss { color: #990073 } /* Literal.String.Symbol */
.highlight .bp { color: #999999 } /* Name.Builtin.Pseudo */
.highlight .vc { color: #008080 } /* Name.Variable.Class */
.highlight .vg { color: #008080 } /* Name.Variable.Global */
.highlight .vi { color: #008080 } /* Name.Variable.Instance */
.highlight .il { color: #009999 } /* Literal.Number.Integer.Long */


/* media queries */
/* ----------------------------------------------------------*/


@media screen and (max-width: 750px) {

  .footer-col-1 { width: 50%; }

  .footer-col-2 {
    width: 45%; /*fallback*/
    width: -webkit-calc(50% - 10px);
    width: -moz-calc(50% - 10px);
    width: -o-calc(50% - 10px);
    width: calc(50% - 10px);
    margin-right: 0;
  }

  .site-footer .column.footer-col-3 {
    width: auto;
    float: none;
    clear: both;
  }

}

@media screen and (max-width: 600px) {

  .wrap { padding: 0 20px !important; }

  .site-nav {
    position: fixed;
    z-index: 10;
    top: 14px; right: 8px;
    background-color: white;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    border: 1px solid #e8e8e8;
  }

  .site-nav .menu-icon {
    display: block;
    font-size: 24px;
    color: #505050;
    float: right;
    width: 36px;
    text-align: center;
    line-height: 36px;
  }

  .site-nav .menu-icon svg { width: 18px; height: 16px; }

  .site-nav .trigger {
    clear: both;
    margin-bottom: 5px;
    display: none;
  }

  .site-nav:hover .trigger { display: block; }

  .site-nav .page-link {
    display: block;
    text-align: right;
    line-height: 1.25;
    padding: 5px 10px;
    margin: 0;
  }

  .post-header h1 { font-size: 36px; }
  .post-content h2 { font-size: 28px; }
  .post-content h3 { font-size: 22px; }
  .post-content h4 { font-size: 18px; }
  .post-content blockquote { padding-left: 10px; }
  .post-content ul,
  .post-content ol { padding-left: 10px; }

  .site-footer .column {
    float: none;
    clear: both;
    width: auto;
    margin: 0 0 15px; }

  .post-content,
  .page-content,
  .home {
    padding-left: 5px;
    padding-right: 5px;
  }

}

/* Add or update these selectors to ensure complete coverage */
html, 
body {
    background-color: #141414;
}

/* If you have a container or wrapper class, you might also need */
.container,
.wrapper,
.content,
.page-content {
    background-color: #141414;
}

/* Update header and related elements */
header,
.header,
.site-header,
nav,
.navigation {
    background-color: #141414 !important;
}

/* If your header has any inner containers or wrappers */
.header-wrapper,
.header-container,
.nav-container {
    background-color: #141414 !important;
}

/* Base text color for all elements */
body {
    color: #c5c5c5;
}

/* Links and navigation */
a,
a:visited,
nav a,
.site-nav a {
    color: #ffffff;
}

/* Headers */
h1, h2, h3, h4, h5, h6 {
    color: #ffffff;
}

/* Any specific text elements commonly used in Jekyll */
.site-title,
.site-description,
.post-title,
.post-content,
.post-meta,
.page-heading,
.post-list,
.footer-content {
    color: #ffffff !important;
}

/* Form elements if you have any */
input, 
textarea, 
select {
    color: #ffffff;
}

/* Blog title selectors - using common Jekyll class names */
.site-title,
.blog-title,
.header-title,
h1.title {
    color: #f5bf42 !important;
}

/* If it's a link in the header */
header a.site-title,
.site-header a.site-title {
    color: #f5bf42 !important;
}

/* Blog post links hover state */
.post-link:hover,
.post-title a:hover,
.post-list a:hover,
.post h2 a:hover,
.post h3 a:hover,
.post-content a:hover {
    color: #f5bf42 !important;
    text-decoration: none; /* Optional: removes underline on hover */
    transition: color 0.2s ease; /* Optional: smooth color transition */
}

/* Blog post date styles */
.post-date,
.post-meta,
.post-meta time,
.date,
time,
.post time,
.post-timestamp {
    color: #8a8a8a !important;
}

/* Target post summaries on main page */
.posts li {
    color: #8a8a8a !important;
}

/* If the above doesn't work, try these more specific selectors */
.posts li p,
.post-excerpt,
ul.posts li br + p {
    color: #8a8a8a !important;
}

/* Add spacing between date and post title - OLD RULE, OVERRIDDEN BELOW */
.posts .post-date {
    display: block;  /* Makes the date appear on its own line */
    margin-bottom: 10px;  /* Adds space below the date */
}

/* Add some spacing between each post in the list */
.posts li {
    margin-bottom: 20px;  /* Adds space between each post entry */
}

/* If needed, add space above the title - OLD RULE, OVERRIDDEN BELOW */
.posts .post-link {
    display: block;  /* Makes sure the title is on its own line */
    margin-top: 5px;  /* Optional: adds a bit more space above title */
}

/* If you want semi-bold instead, use: */
/* font-weight: 600 !important; */

/* Smaller social icons */
.svg-icon {
    width: 22px;  /* Changed from 28px */
    height: 22px;  /* Changed from 28px */
    fill: currentColor;
}

/* If you need them even smaller, you could go to: */
/* width: 12px; */
/* height: 12px; */

/* Adjust spacing between icons if needed */
.social-links {
    display: flex;
    justify-content: center;
}

/* Enhanced blog post listing styles */
.post-item {
    margin-bottom: 0px !important;
    padding: 25px 0;
    border-bottom: 1px solid #333;
}

.post-item:last-child {
    border-bottom: none;
}

.post-meta-line {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 14px;
    flex-wrap: nowrap;
}

.post-item .post-date {
    color: #8a8a8a !important;
    white-space: nowrap;
    display: inline-block !important;
    margin-bottom: 0 !important;
}

.post-item .post-category {
    color: #f5bf42 !important;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    display: inline-block !important;
}

.post-item .microphone-icon {
    font-size: 14px;
    opacity: 0.8;
    cursor: help;
    display: inline-block !important;
    white-space: nowrap;
}

.post-title {
    margin-bottom: 8px;
}

.post-link {
    font-size: 20px !important;
    font-weight: 400 !important;
    color: #ffffff !important;
    text-decoration: none;
    display: block;
}

.post-preview {
    color: #8a8a8a !important;
    font-size: 14px;
    line-height: 1.4;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .post-meta-line {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .microphone-icon {
        margin-left: 0;
    }
    
    .post-link {
        font-size: 18px !important;
    }
}

/* Social Links Color */
.social-links a {
    color: #828282 !important;  /* Normal state color */
    transition: color 0.2s ease;
}

.social-links a:hover {
    color: #f5bf42 !important;  /* Keeping your hover color, but you can change this too if you want */
}

.svg-icon {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

/* If the above doesn't align perfectly, you might need to target the footer or its container */
.site-footer,
footer,
.footer-content {
    text-align: center !important;
    padding: 30px 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

/* Social links base styling */
.social-links {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-left: 30px;
}

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

/* Responsive styling for social links */
@media screen and (max-width: 768px) {
    .social-links {
        float: none;
        text-align: left;
        margin-left: 15px;  /* Match the title's responsive padding */
        padding-left: 15px;
    }
    
    .site-footer {
        padding: 20px 0;
        margin-left: 0;
    }
    
    /* Ensure icons stay aligned */
    .svg-icon {
        width: 22px;
        height: 22px;
    }
}

/* Even smaller screens */
@media screen and (max-width: 480px) {
    .social-links {
        margin-left: 10px;
        padding-left: 10px;
    }
}

/* Navigation link hover styles */
.site-nav .page-link:hover,
.site-nav a:hover,
nav a:hover {
    color: #f5bf42 !important;
    text-decoration: none;  /* Removes underline on hover */
    transition: color 0.2s ease;  /* Smooth color transition */
}

/* If you also want to style the current/active page */
.site-nav .page-link.active,
.site-nav a.active {
    color: #f5bf42 !important;
}

/* Navigation link styles */
.site-nav .page-link,
.site-nav a {
    color: #e0e0e0 !important;  /* Slightly less white */
    font-weight: 400 !important;  /* Changed from 700 (bold) to 400 (normal) */
    margin-left: 20px;
    letter-spacing: -.5px;
}

/* Keep the hover style */
.site-nav .page-link:hover,
.site-nav a:hover {
    color: #f5bf42 !important;
    text-decoration: none;
    transition: color 0.2s ease;
}

/* Blog title hover styles */
.site-title:hover,
a.site-title:hover {
    text-decoration: none !important;
    color: #ffffff !important;  /* Changed to white */
    transition: color 0.2s ease;  /* Smooth transition */
}

/* Normal state remains gold */
.site-title,
a.site-title {
    color: #f5bf42 !important;
}

/* Blog post titles on main page */
.post-link,
.posts li a {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !important;
    font-weight: 400 !important;
    font-size: 22px !important;
    line-height: 1.5 !important;
}

/* Keep your existing hover styles */
.post-link:hover,
.posts li a:hover {
    color: #f5bf42 !important;
    text-decoration: none;
    transition: color 0.2s ease;
}

/* Link styles - no highlight */
.post-content a,
.post a {
    color: #f5bf42;
    background-color: transparent !important;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

/* Image sizing - separate from link styling */
.post-content img,
.post img,
.post a img {  /* Add this to target images inside links */
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
}

/* Image captions */
.imgcap {
    max-width: 100%;
    margin: 20px auto;
    text-align: center;
}

/* Selection styling */
::selection {
    background: transparent !important;
    color: inherit;
}

::-moz-selection {
    background: transparent !important;
    color: inherit;
}

/* Hover state for links */
.post-content a:hover,
.post a:hover {
    color: #ffffff !important;
    background-color: transparent !important;
    text-decoration: none;
    transition: color 0.2s ease;
}

/* More specific selector */
.form-container form button[type="submit"],
form button[type="submit"] {
    background-color: #f5bf42 !important;     /* Changed to match your theme color */
    color: #141414 !important;                /* Changed to dark background color */
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    font-weight: 500;
}

/* Hover state */
.form-container form button[type="submit"]:hover,
form button[type="submit"]:hover {
    background-color: #ffffff !important;      /* Changed to white */
    color: #141414 !important;                /* Keep text dark */
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Remove any wrap padding that might affect centering */
.wrap {
  padding: 0 !important;
}

/* Super specific selectors to override all other styles */
.social-links svg.svg-icon,
.social-links .svg-icon,
.site-footer .social-links svg,
.site-footer .social-links .svg-icon,
svg.svg-icon,
.github-icon-svg,
.twitter-icon-svg {
    width: 22px !important;
    height: 22px !important;
    fill: currentColor !important;
    margin: 0 8px !important;
}

/* Optional: Adjust hover effect for larger icons */
.social-links a:hover svg.svg-icon {
    transform: scale(1.1) !important;
    transition: transform 0.2s ease !important;
}

/* Social Icons */
.social-links svg,
.social-icon,
.social-media-icon {
    width: 22px !important;
    height: 22px !important;
    margin: 0 10px !important;
    vertical-align: middle !important;
    fill: currentColor !important;
}

/* Subscribe Form */
.subscribe-form {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    margin: 20px 0;
}

.subscribe-form input[type="email"] {
    height: 36px;
    padding: 0 10px;
    border: 1px solid #333;
    border-radius: 4px;
    background: #141414;
    color: #fff;
}

.subscribe-form button[type="submit"],
.subscribe-button {
    height: 36px;
    padding: 0 20px;
    background: #f5bf42;
    color: #141414;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    line-height: 36px;
}

.subscribe-form button[type="submit"]:hover,
.subscribe-button:hover {
    background: #ffffff;
    color: #141414;
}

/* Clean social icon styles */
.social-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 20px 0;
}

.social-links svg,
.social-links .svg-icon,
.github-icon-svg,
.twitter-icon-svg {
  width: 22px !important;
  height: 22px !important;
  fill: currentColor !important;
  margin: 0 !important;
  padding: 0 !important;
  position: static !important;
  top: auto !important;
}

/* Clean subscribe form styles */
.site-footer form {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 15px auto 5px auto !important;  /* Reduced bottom margin from 10px to 5px */
  max-width: 400px;
}

.site-footer input[type="email"] {
  height: 36px !important;
  padding: 0 12px !important;
  border: 1px solid #333 !important;
  border-radius: 4px !important;
  background-color: #141414 !important;
  color: #fff !important;
  width: 250px !important;
  margin: 0 !important;
  line-height: 36px !important;
}

.site-footer button[type="submit"] {
  height: 36px !important;
  padding: 0 20px !important;
  background-color: #f5bf42 !important;
  color: #141414 !important;
  border: none !important;
  border-radius: 4px !important;
  cursor: pointer !important;
  font-weight: 500 !important;
  line-height: 36px !important;
  margin: 0 !important;
}

.site-footer button[type="submit"]:hover {
  background-color: #fff !important;
}

@media screen and (max-width: 480px) {
  .site-footer form {
    flex-direction: column;
    padding: 0 20px;
  }
  
  .site-footer input[type="email"],
  .site-footer button[type="submit"] {
    width: 100% !important;
  }
}

/* Unified social icon sizes */
.social-links svg,
.social-links .svg-icon,
.github-icon-svg,
.twitter-icon-svg,
.social-icon,
.social-media-icon,
svg.svg-icon {
  width: 22px !important;
  height: 22px !important;
  fill: currentColor !important;
  margin: 0 10px !important;
  padding: 0 !important;
  position: static !important;
  top: auto !important;
  vertical-align: middle !important;
}

/* Remove any other size definitions */
.svg-icon {
  width: 22px !important;
  height: 22px !important;
}

/* Update footer border to match header */
.site-footer,
footer.site-footer {
  text-align: center !important;
  padding: 30px 0 !important;
  border-top: 5px solid #333333 !important;  /* Match header's 5px thickness and color */
  margin-left: 0 !important;
  padding-left: 0 !important;
  width: 100% !important;
}

/* Remove any other footer border definitions */
.footer-content,
.site-footer .footer-content {
  border: none !important;
}

/* Update footer styles - reduce overall padding */
.site-footer,
footer.site-footer {
    text-align: center !important;
    padding: 5px 0 5px 0 !important;  /* Reduced from 10px to 5px */
    border: none !important;
    border-top: 5px solid #333 !important;
    margin: 0 !important;
    width: 100% !important;
}

/* Adjust spacing between elements in footer */
.social-links {
    margin: 5px 0 15px 0 !important;  /* Reduced top margin from 10px to 5px */
    gap: 10px;  /* Space between social icons */
}

/* Adjust form spacing */
.site-footer form {
    margin: 15px auto 5px auto !important;  /* Reduced bottom margin from 10px to 5px */
    max-width: 400px;
}

/* Base container styles */
.wrap,
.wrapper,
.container,
.content-wrapper {
  max-width: 800px;
  padding: 0 30px !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
}

/* Mobile styles - using multiple breakpoints for better coverage */
@media screen and (max-width: 768px) {
  .wrap,
  .wrapper,
  .container,
  .content-wrapper {
    padding: 0 20px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .post-content,
  .page-content,
  .home,
  .post {
    padding-left: 5px !important;
    padding-right: 5px !important;
  }
}

@media screen and (max-width: 480px) {
  .wrap,
  .wrapper,
  .container,
  .content-wrapper {
    padding: 0 15px !important;
  }
}

/* Remove borders from elements inside code blocks */
.highlight *,
.highlighter-rouge *,
pre.highlight *,
code.highlight *,
.highlight pre code,
.highlight code,
.highlighter-rouge pre code,
.highlighter-rouge code {
    border: none !important;
    border-radius: 0 !important;
}

/* Keep border only on the outer container */
.highlight,
.highlighter-rouge,
pre.highlight,
div.highlight {
    border: 1px solid #333333 !important;
    border-radius: 4px !important;
}

/* Remove interior border */
.highlight pre,
pre.highlight {
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Keep only outer border */
.highlight,
div.highlight {
  border: 1px solid #333333 !important;
  background-color: #1e1e1e !important;
  padding: 8px 12px !important;
  border-radius: 3px !important;
}
