.docCard:nth-child(odd) {
  background-color: #fff;
}

.docCard:nth-child(even) {
  background-color: #f6f6f6;
}


/* Domyślnie ukryj treść kart */
.docCard .docBody,
.docCard .docLinkExt,
.docCard .docDownload {
  display: none;
}

.docBody{
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.docBody div div {
    
    padding-top: 1rem;
    padding-bottom: 1rem;
    border: 1px solid #ccc;
}

.docBody .docTHeader {
    font-weight: 600;
color:#0E3445;
}

/* Po otwarciu karty pokaż treść */
.docCard.is-open .docBody,
.docCard.is-open .docLinkExt,
.docCard.is-open .docDownload {
  display: block;
}

.docLinkExt a{
    margin-left: 0;
}
/* Kursor na linku show more */
.docShowmore  {   flex: 0 0 100px !important;
    align-self: center;
 }

.docToggle{
    border:none;
    color: #2A9ECF;
    background-color: transparent;
   font-weight: 600;
     cursor: pointer;
}


.filter-results {
  display: none;
  margin: 12px 0 18px;
}
.filter-results.active { display: block; }

.filter-results .meta {
  font-size: 12px;
  opacity: .8;
  margin-bottom: 8px;
}

.filter-item {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 6px 0;
  border-top: 1px dashed #eee;
}
.filter-item:first-child { border-top: 0; }

.filter-item .titles { flex: 1 1 auto; }
.filter-item .titles .en {  font-weight: 600;
    color: #0E3445;
    font-size: 1.2rem; }
.filter-item .titles .cn { font-size: 13px; opacity: .85; font-weight: 600;
    color: #0E3445;
     }

.filter-item .go {
  white-space: nowrap;
  border: 1px solid #ccc;
  background: #f8f8f8;
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
}

.docTitle_en {
        font-weight: 600;
    color: #0E3445;
    font-size: 1.2rem;
}

.docTitle_cn {
        font-size: 13px; opacity: .85; font-weight: 600;
    color: #0E3445;
}

mark { background: #ffec99; padding: 0 2px; }


/* --- Search box --- */
.search-box {
  --accent: #f4a000;        /* pomarańcz do focusa/linie (zmień wg brandu) */
  --label:  #0b3f4f;        /* kolor etykiety */
  --border: #cfd8dc;        /* kolor obramowania inputa */
  --text:   #0f172a;        /* kolor tekstu */

  display: grid;
  grid-template-columns: 1fr 40px;
  grid-template-rows: auto 44px;
  grid-template-areas:
    "label label"
    "input icon";
  gap: 8px 8px;
      margin: 24px 0 24px;
  position: relative;
}

.search-box p {
  grid-area: label;
  margin: 0;
  font-weight: 600;
  color: var(--label);
  font-size: 16px;
  line-height: 1.2;
}

#typingFilter {
  grid-area: input;
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  font-size: 16px;
  line-height: 1.3;
  outline: none;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}

#typingFilter::placeholder { color: #94a3b8; }

/* focus – wyraźny, dostępny */
#typingFilter:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(244,160,0,.22);
}

/* cienka linia brandowa pod polem (jak w screenie) */


/* ikona po prawej, wyśrodkowana względem inputa */
.search-box .icon-lupka {
  grid-area: icon;
  align-self: center;
  justify-self: center;
  font-size: 20px;   /* jeśli to ikon-font */
  width: 20px; height: 20px; /* jeśli to SVG jako background itp. */
  color: var(--label);
  pointer-events: none; /* klik nie zasłania inputa */
  opacity: .9;
}

/* Mobile: pełna szerokość, mniejszy promień */
@media (max-width: 640px) {
  .search-box {
    grid-template-columns: 1fr 36px;
    grid-template-rows: auto 42px;
  }
  #typingFilter { border-radius: 10px; font-size: 15px; }
}


.work-package-wrapper{
    display: flex;
}

.docCard{
    border: 1px solid #ccc; padding: 10px;
}

.docHeader{
display: flex; gap: 10px
} 
    .docPublish{
        flex: 0 0 100px;
    }
    
    .docShowmore{
        flex:0 0 75px; text-align:right;
    }


.docBody{
margin-left: 110px;}

.docTHeader{
     flex: 1 1 calc(25% - 12px); display: grid; place-items: center;
}

.docLinkExt{
    margin-left: 110px;
}

.docBody div div {
 flex: 1 1 calc(25% - 12px); display: grid; place-items: center;

}


.category-filter{
font-weight: 600;
    color: #0b3f4f;
    font-size: 16px;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.docShowmore {
  flex: 0 0 75px;
  text-align: right;
}
.docBody {
  margin-left: 110px;
}
.docBody > div {
  display: flex;
  flex-wrap: wrap;
}
.docBody > div > div {
  flex: 1 1 calc(25% - 12px);
  display: grid;
  place-items: center;
  text-align: center;
}
.docPublish {
  flex: 0 0 100px;
}
.docTitle {
  flex: 1 1 auto;
}

.category-buttons {
  display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0;
}
.cat-btn {
  padding: 6px 10px; border: 1px solid #f4a000; border-radius: 9999px; background: #fff; cursor: pointer;
}
.cat-btn.is-active { border-color: #333; background: #f4a000; font-weight: 500; }


