#archive-post-widget {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

#archive-post-widget .filter-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

@media only screen and (max-width: 1024px) {
    #archive-post-widget .filter-container {
        display: grid;
        gap: 20px;
        width: 83%;
        margin: auto;
        grid-template-columns: 50% 50%;
    }
}

@media only screen and (max-width: 767px) {
    #archive-post-widget .filter-container {
        display: grid;
        gap: 3.3vw;
        width: 83%;
        margin: auto;
        grid-template-columns: 100%;
    }
}

#archive-post-widget .filter-section {
    flex: 1;
    display: flex;
    gap: 10px;
    width: 200px;
    position: relative;
}
@media only screen and (max-width: 1024px) {
     #archive-post-widget .filter-section {
       width: 100%; 
       gap: 2.778vw;
    }
}
#archive-post-widget .filter-section::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 25px; 
    transform: translateY(-50%) rotate(315deg);
    width: 8px;
    height: 8px;
    border-left: 1px solid #FFF;
    border-bottom: 1px solid #FFF; 
    z-index: 3;
}
#archive-post-widget .articles-section {
    width: 100%;
}
@media only screen and (max-width: 1024px) {
    #archive-post-widget .articles-section {
       width: 70%;
       margin: auto;
       margin-top: 10vw; 
    }
}

@media only screen and (max-width: 767px) {
      #archive-post-widget .articles-section {
       margin-top: 15vw; 
    }  
}
#archive-post-widget h2 {
    margin-top: 20px;
    font-size: 24px;
}
#archive-post-widget .article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 10px;
}
@media only screen and (max-width: 1024px) {
    #archive-post-widget .article-grid {
       grid-template-columns: repeat(2, 1fr); 
    }
}
@media only screen and (max-width: 767px) {
    #archive-post-widget .article-grid {
       grid-template-columns: repeat(1, 1fr); 
        margin-top: 10vw;
    }
}
#archive-post-widget .page-link {
    margin-right: 5px;
    padding: 5px 10px;
    border: 1px solid #ccc;
    text-decoration: none;
    color: #333;
}
#archive-post-widget .page-link:hover {
    background-color: #f0f0f0;
}
#archive-post-widget .select-loading {
    pointer-events: none;
    opacity: 0.5;
}
#archive-post-widget .article {
    border-radius: 10px;
    background: linear-gradient(180deg, #FFF 0%, rgba(255, 255, 255, 0.50) 100%);
    box-shadow: 0px 20px 30px 0px rgba(0, 0, 0, 0.05);
}
#archive-post-widget .article-image {
    max-width: 100%;
    height: 175px;
    margin-bottom: 0px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background-size: cover;
}
@media only screen and (max-width: 767px) {
  #archive-post-widget .article-image {
    max-width: 100%;
    height: 46vw;
    margin-bottom: 0px;
    border-top-left-radius: 2.6vw;
    border-top-right-radius: 2.6vw;
}  
}

#archive-post-widget .article-content {
    padding: 20px;
    position: relative;
}

@media only screen and (max-width: 767px) {
   #archive-post-widget .article-content {
        padding: 5.3vw;
        position: relative;
    } 
}


#archive-post-widget .article-reading-time {
    color: #575756;
    font-family: "Theinhardt", Sans-serif;
    font-size: 15px;
    font-style: normal;
    font-weight: 300;
    line-height: 24px;
    text-transform: lowercase;
    margin-left: 10px;
}

@media only screen and (max-width: 767px) {
  #archive-post-widget .article-reading-time {
    color: #575756;
    font-family: "Theinhardt", Sans-serif;
    font-size: 4vw;
    font-style: normal;
    font-weight: 300;
    line-height: 6.4vw;
    text-transform: lowercase;
    margin-left: 2.6vw;
}  
}

#archive-post-widget .article-category {
    color: #00636A;
    font-family: "Theinhardt", Sans-serif;
    font-size: 15px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    margin: 0;
}


@media only screen and (max-width: 767px) {
    #archive-post-widget .article-category {
       font-size: 3.7vw; 
       line-height: 6.1vw;
    }
}

#archive-post-widget .article-title {
    color: #003D42;
    font-family: "Theinhardt", Sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 22px;
    /* 110% */
    margin: 5px 0;
}

@media only screen and (max-width: 767px) {
    #archive-post-widget .article-title {
       font-size: 5vw; 
       line-height: 5.5vw;
    }
}

#archive-post-widget .article-excerpt {
    color: #003D42;
    font-family: "Theinhardt", Sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 300;
    line-height: 22px;
    margin-top: 0;
}
@media only screen and (max-width: 767px) {
    #archive-post-widget .article-excerpt {
       font-size: 5vw; 
       line-height: 5.7vw;
    }
}

#archive-post-widget .article-excerpt p {
    margin-top: 0;
}

#archive-post-widget .article-solar-phrase {
    color: #00636A;
    font-family: "Theinhardt", Sans-serif;
    font-size: 15px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    /* 150% */
    text-transform: uppercase;
    margin: 0;
}

@media only screen and (max-width: 767px) {
    #archive-post-widget .article-solar-phrase {
       font-size: 4vw; 
        line-height: 6.4vw;
    }
}

#archive-post-widget select {
    width: 100%;
    border-radius: 10px;
    background: #003D42;
    padding: 14px 20px;
    color: #FFF;
    font-family: "Theinhardt", Sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 300;
    line-height: 24px;
    border: none;
    appearance: none; /* Ukrycie domyślnej strzałki */
    -webkit-appearance: none; /* Dla przeglądarek WebKit */
    -moz-appearance: none; /* Dla przeglądarek Gecko (np. Firefox) */
    /* Twój dodatkowy kod stylów */
    position: relative;
}

@media only screen and (max-width: 767px) {
    #archive-post-widget select {
        padding: 3.8vw 5.5vw;
        font-size: 5vw;
        line-height: 6.6vw;
         border-radius: 2.6vw;
    }
}

#archive-post-widget .pagination {
  display: none;
  justify-content: center;
  align-items: center;
  margin-top: 60px;
}

@media only screen and (max-width: 767px) {
    #archive-post-widget .pagination {
        width: 100vw;
        margin-left: -15vw; 
        margin-top: 15vw;
        margin-bottom: 10vw;
    }
}

#archive-post-widget .pagination-list{
    margin: 0;
    padding: 0;
    text-align: center;
    order: 2;
    margin-top: -13px;
}

@media only screen and (max-width: 767px) {
  #archive-post-widget .pagination-list{
    width: 35vw;   
  }
    
}
#archive-post-widget .pagination-list li{
    display: inline-block;
    padding: 0 20px;
    font-family: "Theinhardt", Sans-serif;
    font-size: 16px;
    color: #003D42;
}

@media only screen and (max-width: 767px) {
  #archive-post-widget .pagination-list li{
      padding: 0 4vw;
  }
    
}

#archive-post-widget .pagination-list .active{
    text-decoration: underline;
    font-weight: bold;
}


#archive-post-widget .pagination .next-button, #archive-post-widget .pagination .prev-button{
    width: 78px;
    height: 78px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
#archive-post-widget .pagination .next-button img, #archive-post-widget .pagination .prev-button img{
    width: 100%;
}
#archive-post-widget .pagination .prev-button{
    order: 1;
}

#archive-post-widget .pagination .next-button{
    order: 3;
}



.dropdown {
    width: 100%;
    border-radius: 10px;
    background: #003D42;
    color: #FFF;
    font-family: "Theinhardt", Sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 300;
    line-height: 24px;
    border: none;
    position: relative;
}
@media only screen and (max-width: 767px) {
    .dropdown {
       margin: 0; 
    }
}
.dropdown dd,
.dropdown dt {
  margin: 0px;
  padding: 0px;
}

.dropdown ul {
  margin: -1px 0 0 0;
}

.dropdown dd {
  position: relative;
  z-index: 1;
}

@media only screen and (max-width: 767px) {
    .dropdown dd{
        z-index: 7;
    }
}


.dropdown a,
.dropdown a:visited {
  color: #fff;
  text-decoration: none;
  outline: none;
  font-size: 18px;
  font-weight: 300;
  font-family: "Theinhardt", Sans-serif;
}

.dropdown dt{
  display: block;
  padding: 14px 20px;
  overflow: hidden;
  border: 0;
  width: 100%;
  font-family: "Theinhardt", Sans-serif;
  text-decoration: none;
  cursor: pointer;
  z-index: 1;
}



.multiSel {
    padding: 0;
    margin: 0;
    width: 95%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 5%;
}
.multiSel span {
    cursor: pointer;
  display: inline;
  padding: 0 3px 2px 0;
  font-family: "Theinhardt", Sans-serif;
}

.mutliSelect{
    display: none;
}

.dropdown dd ul {
  background-color: #003D42;
  border: 0;
  color: #fff;
  left: 0px;
  padding: 14px 20px;
  position: absolute;
  width: 100%;
  list-style: none;
  min-height: 100px;
  overflow: auto;
  border-radius: 10px;
  margin-top: 10px;
}

.dropdown span.value {
  display: none;
}

.dropdown dd ul li {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 300;
  font-family: "Theinhardt", Sans-serif;
}

.dropdown dd ul li label{
    padding-left: 7px;
}