/* css styles */
.navbar-logo {
    height: 3rem;
}

.navbar-title {
    display: none;
}

.quarto-title-banner  h1 {
    color: white;
}

p {
    margin-bottom: 1.5rem;
}

section h2 {
    margin-top: 2rem;
}

div.quarto-post .listing-categories .listing-category {
    font-weight: bold;
    color: #111111;
    border-color: #333;
    background-color: #f0f0ff;
    border-width: 2px;
}

.listing-title        { margin-bottom: 1rem !important; }
.listing-categories   { margin-bottom: 1rem !important; }

.listing-date   { width: 2ch;  white-space: nowrap; }

h1.title {
    margin-bottom: 0.5rem !important;
}

/* 80 / 20 split – but make sure the 20 % track is never < 140 px            */
.quarto-listing .quarto-post{
    display: grid;
    grid-template-columns: minmax(0,3.9fr) minmax(140px,1.1fr); /* 80 % | ≥140 px */
    gap: 1rem;
  }
  
  /* keep the date on one line */
  .quarto-listing .listing-date{
    white-space: nowrap;
  }
  
  /* optional: collapse to one column on phones */
  @media (max-width: 600px){
    .quarto-listing .quarto-post{
      grid-template-columns: 1fr;
    }
  }
.quarto-title .quarto-categories .quarto-category {
    background-color: #222;
    color: #fff;
    border-color: #fff;
    border-width: 2px;
    font-weight: bold;
}

.quarto-title-block .quarto-title-banner {
    background-position: center;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.quarto-title-block .quarto-title-banner .quarto-title {
    margin-top: 300px;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    padding: 2rem;
    color: #fff;
    text-shadow: 0 0 10px #000;
    position: relative;
    left: -2rem;
    width: calc(100% + 4rem);
}

/* ── Share buttons ── */
.share-buttons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    margin-bottom: 1.5rem;
}

.share-label {
    font-weight: bold;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-right: 0.25rem;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border: 2px solid #111;
    border-radius: 4px;
    background: #fff;
    color: #111;
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.15s, color 0.15s;
    position: relative;
}

.share-btn:hover {
    background: #111;
    color: #fff;
}

.share-btn svg {
    pointer-events: none;
}

/* Copy feedback tooltip */
.copy-feedback {
    display: none;
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    background: #111;
    color: #fff;
    font-size: 0.7rem;
    font-weight: normal;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    white-space: nowrap;
    pointer-events: none;
}

.share-copy.copied .copy-feedback {
    display: block;
}

@media (max-width: 600px) {
    .share-buttons {
        flex-wrap: wrap;
    }
}
