/* ===========================
   NAWIGACJA - białe tło, czarny tekst
   =========================== */
   .navbar {
    padding: 0 1em;
    font-size: 1em;
    background-color: white;
    border-bottom: 1px solid black;
  }
  
  .navbar-title,
  .menu-text {
    color: black;
    background-color: white;
  }
  
  .menu-text:hover {
    color: gray;
  }
  
  @media (max-width: 991px) {
    .navbar-title {
      display: none;
    }
  }
  
  .navbar-logo {
    max-height: 48px;
    width: auto;
  }
  
  .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='black' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }
  

  @media (max-width: 1200px) {
    .nav-item {
      margin-right: 0.5rem;
    }
  }
  
  @media (max-width: 991px) {
    .nav-item,
    .aa-DetachedSearchButton {
      margin-top: 0;
    }
  }
  
  /* .aa-DetachedSearchButton {
    margin-top: 2rem;
  } */
  
  /* ===========================
     BLOK TYTUŁOWY
     =========================== */
  #title-block-header {
    border-bottom: 1px solid black;
  }
  
  .quarto-title > h1.title {
    color: black;
  }
  
  /* ===========================
     SEKCJA PULLOUT (Cytat)
     =========================== */
  .pullout-block {
    text-align: center;
    margin: 0 auto;
    padding: 2em 1em;
    box-sizing: border-box;
    font-style: normal;
    background: #FEC017;
  }
  
  .pullout-text h2 {
    text-align: center;
    margin: 0.5em 3vw;
    color: black;
  }
  
  @media (max-width: 768px) {
    .pullout-text h2 {
      font-size: 2em;
      margin: 0.5em 2vw;
    }
  }
  
  /* ===========================
     TYPOGRAFIA
     =========================== */
  body {
    color: black;
    line-height: 1.6;
  }
  
  h2, .h2 {
    font-weight: 600;
    color: black;
    margin-bottom: 1rem;
    border-bottom: none;
  }
  
  h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
    font-weight: 500;
    color: black;
    margin-bottom: 0.75rem;
  }
  
  /* ===========================
     LINKI
     =========================== */
  a {
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  a:hover {
    color: #666;
  }
  
  p > a,
  ul a,
  li > a {
    color: #FEC017;
    font-weight: 600;
  }
  
  p > a:hover,
  ul a:hover,
  li > a:hover {
    color: #e3b638;
  }
  
  /* ===========================
     TABELE
     =========================== */
  .table {
    color: black;
    border-collapse: collapse;
  }
  
  .table th,
  .table td {
    padding: 0.75rem;
    border-bottom: 1px solid #ddd;
  }
  
  th {
    font-weight: 600;
    background-color: #FEC017;
    color: black;
  }
  
  /* ===========================
     STOPKA
     =========================== */
  .nav-footer {
    color: white;
    font-weight: 400;
    padding: 1em 1.5em;
  }
  
  .nav-footer a {
    color: white;
    transition: color 0.3s ease;
  }
  
  .nav-footer a:hover {
    color: #FEC017;
  }
  
  .footer-text p {
    color: white;
    font-size: 0.875rem;
  }
  
  .footer-block {
    max-width: 1000px;
    margin: 0 auto;
    padding: 1em;
    box-sizing: border-box;
  }
  
  /* ===========================
     PRZYCISKI I CTA
     =========================== */
  .article-btn {
    border: none;
    border-radius: 0;
    background-color: #FEC017;
    color: white;
    padding: 0.85em 1em;
    text-align: center;
    display: block;
    margin: 1.5em auto;
    /* margin: 0; */
    cursor: pointer;
    width: 100%;
  }
  
  .article-btn p {
    font-size: 1.3em;
    letter-spacing: 1px;
    font-weight: bolder;
    text-transform: uppercase;
    margin-bottom: 0;
  }
  
  .article-btn a {
    color: white;
    font-weight: 900;
    display: block;
  }

  .article-btn:hover {
    background-color: #fecb41; /* Change the background color on hover */
}
  .article-btn:hover a {
    color: white; /* Change the text color on hover */
}

  .further-info {
    margin: 1.5em 0;
    padding-top: 1.5em;
    padding-bottom: 0.75em;
    border-top: 1px solid black;
    border-bottom: 1px solid black;
  }
  
  /* ===========================
     STRONA GŁÓWNA / HOMEPAGE
     =========================== */
  
  /* ===========================
     Listings
     =========================== */

/* data w monospace */

  .quarto-grid-item .card-attribution{
    font-family: 'Courier New', Courier, monospace;
    text-transform: none;
  }

  .listing-author{
    font-family: 'Courier New', Courier, monospace;
    text-transform: none;
  }


  div.quarto-post .thumbnail img {
    margin-top: 0em; /* .4em;kontroluje wygląd obrazka*/
    /* width: 100%;
    object-fit: cover; */
    height: 188px !important;
  }

  @media (max-width: 768px) {
    .navbar {
      padding: 0 0.5em;
    }
  
    .pullout-block {
      padding: 1.5em 0.5em;
    }
  
    .nav-footer {
      padding: 1em;
    }
  }
  
    /* ===========================
     BANNER GŁÓWNY
     =========================== */

     #title-block-header {
      border-bottom: none;
  }

  .quarto-title-banner {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: 0;
    /* height: 100vh; */
    color: black;
    display: flex;
    /* align-items: center; */
    /* justify-content: center; */
    /* text-align: center; */
    box-sizing: border-box;
    z-index: 0;
  }
  
  @media (max-width: 991px) {
    .quarto-title-banner {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: 0;
    /* height: 100vh; */
    /* color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center; */
    box-sizing: border-box;
    z-index: 0;
  }
  }
  .quarto-title-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.85);
    z-index: 1;
  }
  
  .quarto-title-banner > * {
    position: relative;
    z-index: 2;
    /* color: white; */
  }
  /* https://github.com/quarto-dev/quarto-cli/discussions/12196 */
  .menu-text:not(.btn) {
    margin: 0.375rem;
    position: relative;
    top: 0.375rem;
}
.menu-text.btn {
    top: inherit;
}


li.nav-item span.btn.btn-primary {
    position: relative;
    background-color: #FEC017;
    color: black;
    top: -0.125rem;
    border: #FEC017;
    border-radius: 20px;
    padding-top: 3%;
    padding-bottom: 3%;
}