.row1 {
  align-items: center;
  padding: 0 0 50px;
}

main {
  background: #faf5f5;
}

h1 span {
  font-weight: normal;
}
.singlePost {
  display: none;
}
.show {
  display: block;
}
.patient-categories {
  display: flex;
  justify-content: space-around;
  list-style-type: none;
}
.SelectBoxTitle p {
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
  margin: 0 0 20px;
}
select#selectBox {
  -webkit-appearance: none;
  -moz-appearance: none;
  background: transparent;
  background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position-x: 98%;
  background-position-y: 10px;
  border: 2px solid #2569a8;
  border-radius: 8px;
  padding: 10px;
  font-size: 16px;
  width: 100%;
}
select#selectBox:focus {
  outline: none;
}
#ajax-container ul {
  list-style-type: none;
  display: flex;
  flex-wrap: wrap;

  padding-left: 0;
}

.button-group {
  width: 100%;
  padding: 20px;
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 20px;
}

.categoryBox {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
}

div.button {
  border: none;
  font-size: 16px;
  line-height: 18px;
  font-weight: 400;
  color: #36393d;
  background: #f2f2f2;
  box-shadow: 0px 3px 7px 0 rgb(159 159 159);
  padding: 20px;
  text-align: center;
  width: fit-content;
}
div.button:hover {
  cursor: pointer;
}
@media (min-width: 981px) {
  .posts {
    padding-top: 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 20px;
  }
}
@media (max-width: 980px) {
  .posts {
    padding-top: 40px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 20px;
  }
  .row.row2 {
    position: sticky;
    top: 15px;
    z-index: 11;
    background: #faf5f5e6;
  }
  .categorySelectBox {
    z-index: 999;
    padding: 10px 0;
  }
}
@media (max-width: 660px) {
  .row.row1 {
    padding-bottom: 10px;
  }
  .posts {
    padding-top: 40px;
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 20px;
  }
}
a.inner-content {
  color: var(--text);
  display: block;
}
.row2 .behandlungscon {
  border-radius: 20px;
  padding-bottom: 20px;
}
.behandslungsbereich {
  padding: 20px 20px 5px;
}
.behandlung {
  font-weight: bold;
  font-size: 1.5em;
  margin-bottom: 0;
  margin-top: 10px;
}
.pat_meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.pat_text {
  display: flex;
  flex-direction: column;
}
.pat_text > *:nth-child(2) {
  font-weight: bold;
}
.pat_meta .btn-primary {
  padding: 8px 16px;
  font-size: 0.9em;
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .button-group {
    flex-wrap: wrap;
    padding: 0;
    gap: 0;
    justify-content: space-between;
  }
  div.button {
    margin: 10px 0;
    width: 48%;
    font-size: 16px;
  }
  .row1 {
    align-items: baseline;
    padding: 0 0 40px;
  }
}

@media (max-width: 576px) {
  .pat_meta .btn-primary {
    width: auto;
  }
}
