.fachbereiche-block { 
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  max-width: 100vw;
  width: 100vw;
  height: 100%;
}

.fachbereiche-block.grey {
  background: #F7F7F7;
}

.fachbereiche-block.white {
  background: #FFFFFF;
}

.fachbereiche-block > .fachbereiche {
  justify-content: center;
  align-items: center;
  display: flex;
  flex-direction: column;
  padding: 6rem 0;
  box-sizing: border-box;
  max-width: 1440px;
  margin: 0 auto;
}


.fachbereiche-block > div {
  justify-content: center;
  align-items: center;
  display: flex;
  flex-direction: column;
  padding: 6rem 0;
}

.fachbereiche-block > div > h3 {
  font-size: calc(32 / 16 * 1rem);
  line-height: 1.2;
  color: #463D27;
  margin: 0;
  word-break: break-word;
  hyphens: auto;
}

.fachbereiche-block > div > a.btn-secondary {
  font-family: 'RobotoRegular', sans-serif;
  padding: 0;
  box-sizing: border-box;
  color: #463D27;
  display: flex;
  align-items: center;
  font-size: calc(24 / 16 * 1rem);
  gap: 15px;
  text-decoration: none;
  margin-top: 25px;
}

.fachbereiche-block > div > a.btn-secondary > img {
  width: 25px;
}

.fachbereiche-block .items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 60px;
  margin-bottom: 40px;
  width: 100%;
}

.fachbereiche-block > .fachbereiche > .items {
  align-items: flex-start;
}

.fachbereiche-block.col-4 .items {
  grid-template-columns: repeat(4, 1fr);
}

.fachbereiche-block.col-3 .items {
  grid-template-columns: repeat(3, 1fr);
}

.fachbereiche-block.col-2 .items {
  grid-template-columns: repeat(2, 1fr);
}

.fachbereiche-block.col-1 .items {
  grid-template-columns: repeat(1, 1fr);
}

.fachbereiche-block .items > .item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 25px;
  box-sizing: border-box;
  border: 1px solid #CDAD84;
  border-radius: 10px;
  min-height: 200px;
  background: #EFEFEF;
  flex-direction: column;
  min-height: 265px;
}

.fachbereiche-block > .fachbereiche .items > .item {
  align-items: flex-start; 
  justify-content: space-between;
}

.fachbereiche-block > .fachbereiche .items > .item > a {
  justify-self: flex-end;
  margin-top: 30px;
}

.fachbereiche-block > .fachbereiche .items > .item > a > img {
  width: 20px;
}

.fachbereiche-block > .fachbereiche .items > .item > .hidden-items {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 0px;
}

.fachbereiche-block > .fachbereiche .items > .item > .hidden-items > .item {
  gap: 20px;
  display: flex;
  flex-direction: column;
}

.fachbereiche-block > .fachbereiche .items > .item > .hidden-items > li {
  display: flex;
  gap: 6px;
  align-items: center;
}

.fachbereiche-block > .fachbereiche .items > .item > .hidden-items > li > a {
  text-decoration: none;
  color: #000000;
  font-weight: 600;
}

.fachbereiche-block > .fachbereiche .items > .item > .hidden-items > li > svg {
  width: 15px;
  height: auto;
}

.fachbereiche-block > .fachbereiche .items > .item > .hidden-items p {
  margin: 0;
  hyphens: auto;
}

.fachbereiche-block .items > .item .head-elm > img,
.fachbereiche-block .items > .item > img {
  width: 30px;
  height: 30px;
  background: var(--zes-gold);
  padding: 7px;
  border-radius: 5px;
  box-sizing: border-box;
  object-fit: contain;
  margin-bottom: 10px;
}

.fachbereiche-block .items > .item ul li,
.fachbereiche-block .items > .item > .text > p,
.fachbereiche-block .items > .item > p {
  font-size: calc(24 / 16 * 1rem);
  line-height: 1.45;
  margin: 0;
  word-break: break-word;
  hyphens: auto;
  max-width: 100%;
}

.fachbereiche-block .items > .item ul li {
  font-size: calc(18 / 16 * 1rem);
}
.fachbereiche-block .items > .item ul li > a {
  text-decoration: none;
  color: #000000;
  display: grid;
  gap: 5px;
  align-items: center;
  line-height: 1;
  grid-template-columns: 1fr 18px;
}

.fachbereiche-block .items > .item ul li > a::after {
  content: url("/zes/wp-content/themes/zes_theme/images/btn-next-black.svg");
  width: 18px;
  height: 18px;
  display: block;
}

.fachbereiche-block .items > .item ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 5px 0;
}

.fachbereiche-block .items > .item ul li {
  line-height: 1;
}

.fachbereiche-block .items > .item > .text > p.meta {
  font-size: calc(12 / 16 * 1rem);
  color: #00505E;
}

.fachbereiche-block .items > .item > p > span.underline {
  height: 1px;
  background: #000000;
  display: block;
}

.fachbereiche-block .items > .item > p {
  max-width: 100%;
  width: 100%;
} 

.fachbereiche-block > .fachbereiche .items > .item .head-elm > p,
.fachbereiche-block > .fachbereiche .items > .item > p,
.fachbereiche-block > .fachbereiche .items > .item > .text p {
  text-align: left;
  font-weight: 400;
  hyphens: auto;
}

.fachbereiche-block .items > .item .head-elm  {
  width: 100%;
}

.fachbereiche-block .items > .item .head-elm > p,
.fachbereiche-block > .fachbereiche .items > .item .head-elm > p {
  font-size: calc(22 / 16 * 1rem);
 /*  cursor: pointer; */
  hyphens: auto;
 /*  word-break: auto-phrase; */
  line-height: 1.35;
}

.fachbereiche-block .items > .item .head-elm > p.cursor-pointer {
  cursor: pointer;
}

.fachbereiche-block .items > .item > p.cursor-pointer {
  cursor: pointer;
}

.fachbereiche-block .items > .item .head-elm > p > span.headline,
.fachbereiche-block .items > .item > p > span.headline {
  display: flex;
  gap: 10px;
  justify-content: flex-start;
  align-items: flex-start;
}

.fachbereiche-block .items > .item .head-elm > p > span.headline > svg,
.fachbereiche-block .items > .item > p > span.headline > svg {
  width: 35px;
  height: 35px;
}

.fachbereiche-block .items > .item .head-elm > p > span.headline > svg.active,
.fachbereiche-block .items > .item > p > span.headline > svg.active {
  transform: rotate(180deg);
}

.fachbereiche-block > div > a.btn-secondary { 
  align-self: flex-start; 
}

@media only screen and (max-width: 1380px) { 
  .fachbereiche-block.col-4 .items,
  .fachbereiche-block .items { 
    grid-template-columns: repeat(3, auto); 
  }
  .fachbereiche-block > .fachbereiche {
    max-width: 860px;
    margin: 0 auto;
  }
}

@media only screen and (max-width: 870px) { 
  .fachbereiche-block.col-4 .items,
  .fachbereiche-block.col-3 .items,
  .fachbereiche-block.col-2 .items,
  .fachbereiche-block.col-1 .items,
  .fachbereiche-block .items { 
    grid-template-columns: repeat(1, 1fr); 
  }
  .fachbereiche-block .items > .item > img {
    width: 25px;
    height: 25px;
  }
  .fachbereiche-block > .fachbereiche,
  .fachbereiche-block > div {
    padding: 6rem 2rem;
  }
}

.block-editor-block-list__block .fachbereiche-block {
  max-width: 100%;
  width: 100%; 
  padding-bottom: 0;
  margin-left: 0;
  margin-right: 0;
  padding: 2rem;
  box-sizing: border-box;
}

.block-editor-block-list__block .fachbereiche-block a.btn-secondary > img {
  width: 25px;
}

.block-editor-block-list__block .fachbereiche-block a.btn-secondary {
  font-family: 'RobotoRegular', sans-serif;
  padding: 0;
  box-sizing: border-box;
  color: #463D27;
  display: flex;
  align-items: center;
  font-size: calc(24 / 16* 1rem);
  gap: 15px;
  text-decoration: none;
  margin-top: 25px;
}

.block-editor-block-list__block .fachbereiche-block .items {
  grid-template-columns: repeat(2, 1fr);
}

.block-editor-block-list__block .fachbereiche-block .items > .item .head-elm > img {
  display: none;
}