:root {
  --glowny-kolor-ciemny: #0A4493;
}

/* Frontend style for custom block */
.bs-news {
  width: 100%;
  height: fit-content;
  max-width: 1000px;
  background-color: transparent;
  opacity: 0.9;
}

.bs-news__titlebar {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.site-content .bs-news__titlebar__title {
  margin-bottom: 0.5em;
  margin-top: 0.5em;
  font-weight: 900;
}

.bs-news__posts-container {
  width: 100%;
  height: fit-content;
  display: flex;
  flex-direction: row;
  overflow: hidden;
  flex-wrap: nowrap;
}

/* Section */

.bs-news__posts-container__section {
  display: flex;
  box-sizing: border-box !important;
  row-gap: 1%;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  justify-content: flex-start;
  flex-shrink: 0;
  transition: 0.6s ease-in-out;
}

/* Post */

.bs-news__posts-container__section__post--item {
  width: 100%;
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  white-space: pre-line;
}
.bs-news__posts-container__section__post--1 {
  width: 100%;
}

.bs-news__posts-container__section__post--2 {
  width: 49%;
}

.bs-news__posts-container__section__post--3 {
  width: 32%;
}

.bs-news__posts-container__section__post--4 {
  width: 24%;
}

.bs-news__posts-container__section__post--5 {
  width: 18%;
}

.bs-news__posts-container__section__post {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  margin-right: 10px;
}

.bs-news__posts-container__section__post:hover {
  box-shadow: 0px 5px 28px #68686829;
  background: #ffffff 0% 0% no-repeat padding-box;
}

.bs-news__posts-container__section__post__img--logo {
  object-fit: contain !important;
}

p.bs-news__posts-container__section__post__title {
  color: #0c0c0c;
  font-size: 36px;
  font-weight: 900;
  font-family: Lato;
  text-align: left;
  padding: 5px 5px 5px 0;
  margin-bottom: 0;
  align-self: space-evenly;
  margin-bottom: 0px;
  width:70%
}
.bs-news__posts-container__section__post p{
  font-size: 16px; 
  font-weight: 700;
width: 70%;

}

.bs-news__posts-container__section__post__desc {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  text-align: left;
  letter-spacing: 0px;
  color: #0c0c0c;
  opacity: 1;
  white-space: pre-wrap;
  margin-bottom: 0;
  text-align: left;
  font-weight: 900;
  align-self: flex-start;
}

/* Navigation */

.bs-news__nav.bs-uth-new-main {
  display: flex;
  width: 100%;
  align-content: flex-start;
  justify-content: space-evenly;
  flex-direction: row;
}

.bs-news__nav__read-more {
  color: black;
  padding: 2px 10px;
  text-decoration: none;
  border: 2px solid var(--glowny-kolor-ciemny);
  border-radius: 23px;
  opacity: 1;
  font-weight: 900;
}

.bs-news__nav__read-more:hover {
  color: white;
  background-color: var(--glowny-kolor-ciemny);
  transition-duration: 0.4s;
}

.bs-news__nav__pagination {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.bs-news__nav__pagination__button {
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  width: 26px;
  height: 26px;
  border: none;
}
.bs-news__nav__pagination__button:focus{
border: 1px solid black;
}
.bs-news__nav__pagination__button-prev {
  background-image: url('/wp-content/uploads/2021/11/Vector1.svg');
  background-color: transparent;
  background-position: left;
  padding: 0;
}

.bs-news__nav__pagination__button-next {
  background-image: url('/wp-content/uploads/2021/11/Vector-1.svg');
  background-color: transparent;
  background-position: right;
  padding: 0;
}
.bs-news__nav__pagination__button.bs-news__nav__pagination__button-prev.wcag_set_contrast_background_1,
.bs-news__nav__pagination__button.bs-news__nav__pagination__button-prev.wcag_set_contrast_background_2{
  background-image: url("https://uth.system-testowy.pl/wp-content/uploads/2022/04/Vector-white-prev-1.svg") !important;
  border: none !important;
}
button.bs-news__nav__pagination__button.bs-news__nav__pagination__button-next.wcag_set_contrast_background_1,
button.bs-news__nav__pagination__button.bs-news__nav__pagination__button-next.wcag_set_contrast_background_2{
  background-image: url("https://uth.system-testowy.pl/wp-content/uploads/2022/04/Vector-white-1.svg") !important;
  border: none !important;
}

.bs-news__nav__pagination__button:hover,
.bs-news__nav__pagination__button-next:focus,
.bs-news__nav__pagination__button-prev:focus {
  background-color: transparent;
}

.bs-news__nav__pagination__radio-box {
  /* border-color: #6a4a42 !important; */
  display: flex;
  flex-direction: row;
  column-gap: 10px;
  align-items: center;
  height: 10px;
}

.bs-news__nav__pagination__radio-box__label {
  display: flex;
  flex-direction: row;
  margin: 0;
}

.bs-news__nav__pagination__radio-box__label:hover {
  cursor: pointer;
}

.bs-news__nav__pagination__radio-box__label__input {
  opacity: 0;
  width: 0;
  height: 0;
}

.bs-news__nav__pagination__radio-box__label__control {
  display: block;
  width: 0.8em;
  height: 0.8em;
  border-radius: 50%;
  border: 0.1em solid var(--glowny-kolor-ciemny);
}

.bs-news__nav__pagination__radio-box__label__control--checked {
  background-color: var(--glowny-kolor-ciemny);
}
