@font-face {
  font-family: "BrassMono";
  src: url(/assets/fonts/BrassMono-Regular.ttf) format("truetype");
  font-weight: normal;  /* If it's a regular/400 weight */
  font-style: normal;   /* If it's not italic */
}
@font-face {
  font-family: "Baloo2";
  src: url(/assets/fonts/Baloo2-VariableFont_wght.ttf) format("truetype");
  font-optical-sizing: auto;
  font-weight: 800;
  font-style: normal;   /* If it's not italic */
}
@font-face {
  font-family: "Baloo2Bold";
  src: url(/assets/fonts/Baloo2-ExtraBold.ttf) format("truetype");
  font-optical-sizing: auto;
  font-weight: 800;
  font-style: normal;   /* If it's not italic */
}
body {
    padding-top: 120px; /* Increased to match navbar height */
    /* font-family: "BrassMono", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"; */
}
nav {
    z-index: 1000; /* Adjust this value as needed */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 120px; /* Increased from 50px to 120px for larger logo */
}

@media (max-width: 768px) {
  .timeline-end {
    display: flex;
    flex-wrap: wrap;
  } 
  .timeline-start {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column-reverse; /* Ensure tasks are above answers */
  }
  .timeline-box {
    margin-bottom: 1rem;
  }
  .grid {
    width: 100%;  /* Make cards take up full width on mobile */
    grid-auto-rows: minmax(auto, 1fr); /* Sets card height to at least 1fr */
  }
  .divider {
    display: none;  /* Hide the divider on mobile */
  }
  .card {
    flex-grow: 0; /* No horizontal growth on mobile */
  }
  .attractive-list {
    padding-left: 0.5em;
  }
  .attractive-list .list-row {
    padding: 0.1em 0;
    font-size: 1em;
  }
  .mockup-window {
    margin-bottom: 0.5em;
  }
  .block.place-content-start {
    margin: 0.5em 0.2em;
  }
}

/* Override inline code font */
code {
  font-family: "BrassMono", monospace !important;
  font-size: 0.95em;
  padding: 0.1em 0.3em;
  border-radius: 0.2em;
  background: hsl(var(--b2, 0) / 0.08); /* subtle background, DaisyUI var fallback */
  vertical-align: baseline;
}

.list-row {
  display: flex;
  align-items: flex-start;
  gap: 0.5em;
}

.list-row code {
  margin: 0;
  /* Remove any extra left/right spacing */
}
ul.attractive-list {
  padding-left: 1.2em;
  margin: 0;
}

.attractive-list {
  margin: 0;
  padding-left: 1.2em;
}

.attractive-list .list-row {
  margin: 0;
  padding: 0.3em 0;
  border-bottom: 1px solid hsl(var(--b2, 0) / 0.08);
  line-height: 1.4;
  transition: background 0.2s;
  border-radius: 0.3em;
  margin-bottom: 0.1em;
}

.attractive-list .list-row:last-child {
  border-bottom: none;
}

.attractive-list .list-row:hover {
  background: hsl(var(--b2, 0) / 0.08);
}

.f-container{display:flex;}
.column{flex:1;}

.BrassMonoFont{
  font-family: "BrassMono", monospace;
}
.Baloo2Font{
  font-family: "Baloo2", sans-serif;
}
.Baloo2BoldFont{
  font-family: "Baloo2Bold", sans-serif;
}

/* Improve list styling inside tables */
td ul, td ol {
  margin: 0.2em 0 0.2em 1.2em;
  padding-left: 1.2em;
  list-style-position: inside;
}
td li {
  white-space: normal;
  margin: 0.1em 0;
  padding: 0;
  line-height: 1.5;
}

/* Utility: compact attractive list for tables */
.compact-list, .attractive-list {
  list-style-type: decimal;
  list-style-position: inside;
  margin: 0.2em 0 0.2em 1.2em;
  padding-left: 1.2em;
}
.compact-list li, .attractive-list .list-row, .attractive-list li {
  display: list-item;
  padding: 0.1em 0;
  margin: 0;
  border: none;
  background: none;
  line-height: 1.5;
  word-break: break-word;
}

/* Prevent awkward breaks in numbered lists */
ol, ul {
  overflow-wrap: anywhere;
}

/* Style ordered list numbers with DaisyUI accent color (fix for .list-row) */
.attractive-list > .list-row::marker,
.attractive-list li::marker {
  color: var(--a, #ea580c); /* DaisyUI accent variable, fallback to orange-600 */
  font-weight: bold;
}