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

body {
  font-family: 'Montserrat', sans-serif;  /* Changed from Arial */
  background-color: #3b3a39;
  color: #c3c3c3;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
}

.site-nav .page-link {
  color: #c3c3c3;
  font-weight: bold;
  line-height: 1.5;
  font-family: 'Montserrat', sans-serif;
}
.site-nav .page-link:not(:last-child) {
  margin-right: 35px;
}


.site-nav {
    float: left;    
    max-width: 100%;
    overflow-x: visible;
}

.site-nav .trigger {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

/* Add styles for the search form to appear below navigation */
.search-container {
    clear: both;
    display: block;
    width: 100%;
    margin-top: 10px;
}

/* Style for the search input */
#lunrsearch {
    width: 100%;
    max-width: 250px;
    padding: 5px;
    border-radius: 4px;
    border: 1px solid #666;
    
}

.github-icon {
    vertical-align: middle;
}


.page-content .wrapper {
  border-left-width: 36px;
  border-left-style: solid;
}

.home .wrapper {
  border: none;
}

h1,h2,h3 { margin-bottom: 0px;}

/* 
 * Post Header Styling - All styles related to post headers
 * Ensures proper horizontal and vertical alignment
 */

/* Base post-header styling */
header.post-header, 
.post-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 60px;
  padding: 10px 0;
  position: relative; /* For absolute positioning of elements if needed */
  width: 100%;
}

/* Ensure all direct children of post-header are vertically centered */
header.post-header > *,
.post-header > * {
  display: flex;
  align-items: center;
  margin: auto 0;
}

/* Style for post titles with proper horizontal alignment */
h1.post-title,
.post-title {
  font-size: 22pt; 
  font-family: 'Montserrat', sans-serif;
  position: relative;
  padding-left: 46px; /* Make room for the icon */
  display: flex;
  align-items: center;
  margin: 0;
  line-height: 1.2;
  width: 100%; /* Ensure it takes full width for proper alignment */
}

/* Icon styling for post titles - positioned first */
.post-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background-image: url('/assets/hoen_icon.svg');
  background-size: contain;
  background-repeat: no-repeat;
  margin: auto 0; /* Ensure vertical centering */
  z-index: 1; /* Ensure it's above other elements */
}

/* Main container for title content - ensures proper spacing */
.post-title > span,
h1.post-title > span {
  width: 100%;
  display: flex;
  justify-content: space-between; /* Space between title text and GitHub icon */
  align-items: center;
  height: 100%;
}

/* Style for the title text - positioned after icon */
.post-title > span > span:first-child,
h1.post-title > span > span:first-child {
  flex-grow: 1; /* Allow it to grow and take available space */
  text-align: left;
  padding-right: 20px; /* Give some space between text and GitHub icon */
}

/* Style for the GitHub icon - right-aligned */
.post-title > span > a,
h1.post-title > span > a {
  flex-shrink: 0; /* Prevent shrinking */
  margin-left: auto; /* Push to the right */
  display: flex;
  align-items: center;
  justify-content: flex-end; /* Ensure content is right-aligned */
}

/* Ensure the GitHub icon is properly aligned */
.post-title > span > a img,
h1.post-title > span > a img {
  margin: 0;
  vertical-align: middle;
  margin-left: auto; /* Ensure it stays right-aligned */
}

/* Style for post-header-title class */
.post-header-title {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  width: 100%;
}

/* Ensure all elements in the post-header-title are properly aligned */
.post-header-title * {
  vertical-align: middle;
  margin: auto 0;
}

.post-content h1 { font-size: 16pt; }
.post-content h2 { font-size: 14pt; }
.post-content h3 { font-size: 12pt; }
.post-content p, div { font-size: 11pt;}

.page-content {
  font-family: 'Montserrat', sans-serif;
  font-size: 17px;
  line-height: 30.6px;
  letter-spacing: 1.36px;
  font-weight: 400;
}

.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4,
.page-content h5,
.page-content h6 {
  font-family: 'Montserrat', sans-serif;
  line-height: 30.6px;
  letter-spacing: 1.36px;
  padding-top: 20pt;
  font-weight: bold;
}

.page-content p,
.page-content div {
  font-size: 11pt;
  line-height: 30.6px;
  letter-spacing: 1.36px;
}

/* Update site title styling */
.site-title {
    font-family: "League Spartan", sans-serif;
    font-palette: normal;
    font-size: 50px;
    font-stretch: 100%;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: normal;
    margin-top: 20px;      /* Add space above the title */
    margin-bottom: 20px;   /*   Add space above the title */
    padding-top: 10px;   
}

.page-content img {
  margin-top: 20px;
  margin-bottom: 20px;
}

/* Footer styling - updated to target specific elements */
.site-footer {
  text-align: center;
}

.site-footer .footer-col-wrapper {
  text-align: center;
}

.footer-logo {
  max-width: 120px;
  margin-top: 10px ;
}

.footer-content {
  text-align: center;
}

.site-footer p {
  text-align: center;
}

/* Additional fix for specific layout in the screenshot */
span[style*="display: flex; justify-content: space-between"] {
  width: 100%;
  justify-content: space-between !important;
}
