/* Override hyperlink styles for dark mode */
/* suggested color palette for light mode: https://coolors.co/393e41-d3d0cb-e7e5df-478978-ad5d4e */

:root{
    --maincolor: #478978;
    --bordercl: #ad5d4e;
    --callouctcolor:dodgerblue;
    --hovercolor:navy;
    --darkMaincolor: #50fa7b;
    }

html {
    color: #393e41;
    font-family: 'Recursive', sans-serif;
    line-height: 2.0em;
}

body {
    background-color: #e7e5df;
}

p {
    font-family: 'Noto Sans', sans-serif;
    line-height: 1.8;
}

// hyperlink colors and styles
a {
    border-bottom: 3px maincolor;
    color: maincolor;
}

a:hover {
    background-color: #d3d0cb;
    /* Optionally adjust the text color on hover */
    color: inherit;
}

h1, h2, h3, h4, h5, h6 {
    font-size: 1.5rem;
    margin-top: 2em;
  }

.post-container {
    gap: 0px;
  }

.post-content {
    flex: 3;
}

/* Footer container */
.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Center items horizontally */
    align-items: center;     /* Align items vertically */
    gap: 1rem;               /* Add consistent spacing */
    padding: 1rem;           /* Add some padding */
    text-align: center;      /* Center text for small screens */
  }
  
  /* Social icons container */
  .footer-social {
    justify-content: left;
    display: flex;
    gap: 0.1rem; /* Spacing between icons */
  }
  
  /* Social icon styling */
  .soc {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* Optionally add padding, border, or hover effects here */
  }
  
  /* Footer info styling */
  .footer-info {
    font-size: 0.9rem;
  }
  
  /* Responsive adjustments */
  @media screen and (max-width: 600px) {
    .footer-content {
      flex-direction: column;  /* Stack items on narrow screens */
    }
  }

  .border {
    margin-left: 0.5em;
    margin-right: 0.5rem;
    border: 1px solid;
  }

/* Minimal callout using fenced code blocks with language "callout" */
.highlight pre:has(code.language-callout) {
  background: #f8f9fb;           /* light, neutral */
  border: 1px solid #dfe3e8;      /* subtle border */
  border-radius: 8px;
  padding: 1rem 1.25rem;
  overflow: auto;
}

.highlight pre:has(code.language-callout) code.language-callout {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.9rem;              /* smaller than normal code */
  line-height: 1.5;
  white-space: pre-wrap;          /* allow wrapping inside callout */
}

@media (prefers-color-scheme: dark) {
  .highlight pre:has(code.language-callout) {
    background: #0f1214;          /* dark-mode neutral */
    border-color: #2a2f36;
  }
}