.post-by-cat {
  padding-bottom: 0; }
  .post-by-cat .container {
    display: block;
    padding: 0; }
    @media (min-width: 700px) {
      .post-by-cat .container {
        padding: 0 4%; } }
    @media (min-width: 1100px) {
      .post-by-cat .container {
        padding: 0 8%; } }
    @media (min-width: 1500px) {
      .post-by-cat .container {
        padding: 0 7.5rem; } }
  .post-by-cat .posts-holder {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap; }
    @media (min-width: 700px) {
      .post-by-cat .posts-holder {
        -ms-flex-wrap: nowrap;
            flex-wrap: nowrap; } }
  .post-by-cat .aside-posts {
    width: 100%; }
    @media (min-width: 700px) {
      .post-by-cat .aside-posts {
        width: 47.7%; } }
    @media (min-width: 1100px) {
      .post-by-cat .aside-posts {
        width: 35.7%; } }
  .post-by-cat h1 {
    font-size: 1rem;
    line-height: 1.375rem;
    text-transform: uppercase;
    margin: 0 0 0.875rem;
    padding: 0 5%; }
    @media (min-width: 700px) {
      .post-by-cat h1 {
        font-size: 1rem;
        line-height: 1.375rem;
        margin: 0 0 0.875rem;
        padding: 0; } }
    @media (min-width: 1100px) {
      .post-by-cat h1 {
        font-size: 1.25rem;
        line-height: 1.75rem;
        margin: 0 0 1.625rem; } }
    @media (min-width: 1500px) {
      .post-by-cat h1 {
        font-size: 1.5rem;
        line-height: 2.0625rem;
        margin: 0 0 2.125rem; } }
  .post-by-cat .featured-iamge,
  .post-by-cat .featured-image {
    margin-bottom: 0.4375rem; }
    @media (min-width: 1500px) {
      .post-by-cat .featured-iamge,
      .post-by-cat .featured-image {
        margin-bottom: 0.5625rem; } }
  .post-by-cat .featured-content {
    -webkit-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease; }
  .post-by-cat h2 {
    font-size: 1rem;
    line-height: 1.375rem;
    color: #333333;
    margin: 0 0 0.4375rem; }
    @media (min-width: 1100px) {
      .post-by-cat h2 {
        font-size: 1.25rem;
        line-height: 1.75rem;
        margin: 0 0 0.25rem; } }
    @media (min-width: 1500px) {
      .post-by-cat h2 {
        font-size: 1.5rem;
        line-height: 2.0625rem;
        margin: 0 0 0.5625rem; } }
  .post-by-cat .reading-time {
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: #938E91;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center; }
    @media (min-width: 1100px) {
      .post-by-cat .reading-time {
        font-size: 0.9375rem;
        line-height: 1.4375rem; } }
    @media (min-width: 1500px) {
      .post-by-cat .reading-time {
        font-size: 1rem;
        line-height: 1.5rem; } }
    .post-by-cat .reading-time .bsf-rt-reading-time {
      background: url("../../../assets/img/lesezeit.svg");
      background-size: 100% auto;
      background-repeat: no-repeat;
      width: 0.875rem;
      height: 0.875rem;
      margin: 0 0.3125rem 0 0; }
      @media (min-width: 1100px) {
        .post-by-cat .reading-time .bsf-rt-reading-time {
          width: 1rem;
          height: 1rem;
          margin: 0 0.5rem 0 0; } }
      @media (min-width: 1500px) {
        .post-by-cat .reading-time .bsf-rt-reading-time {
          width: 1.0625rem;
          height: 1.0625rem;
          margin: 0 0.5rem 0 0; } }
  .post-by-cat .square {
    padding-bottom: 1.25rem; }
    @media (min-width: 700px) {
      .post-by-cat .square {
        padding-bottom: 1.5rem; } }
    @media (min-width: 1500px) {
      .post-by-cat .square {
        padding-bottom: 1.875rem; } }
    .post-by-cat .square .featured-image-holder > a {
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex; }
    .post-by-cat .square .featured-iamge,
    .post-by-cat .square .featured-image {
      width: 100%;
      max-width: 7.1875rem;
      max-height: 7.1875rem;
      overflow: hidden;
      -ms-flex-negative: 0;
          flex-shrink: 0;
      margin: 0 1rem 0 0; }
      @media (min-width: 700px) {
        .post-by-cat .square .featured-iamge,
        .post-by-cat .square .featured-image {
          max-width: 6.875rem;
          max-height: 6.875rem;
          margin: 0 1rem 0 0; } }
      @media (min-width: 1100px) {
        .post-by-cat .square .featured-iamge,
        .post-by-cat .square .featured-image {
          margin: 0 1.375rem 0 0; } }
      @media (min-width: 1500px) {
        .post-by-cat .square .featured-iamge,
        .post-by-cat .square .featured-image {
          max-width: 9.375rem;
          max-height: 9.375rem;
          margin: 0 1.875rem 0 0; } }
    .post-by-cat .square .featured-content {
      margin-top: -0.4375rem; }
      @media (min-width: 1100px) {
        .post-by-cat .square .featured-content {
          margin-top: -0.5625rem; } }
      @media (min-width: 1500px) {
        .post-by-cat .square .featured-content {
          margin-top: -0.6875rem; } }
    .post-by-cat .square h2 {
      font-size: 1rem;
      line-height: 1.375rem;
      }
      @media (min-width: 1100px) {
        .post-by-cat .square h2 {
          font-size: 1.25rem;
          line-height: 1.75rem; } }
      @media (min-width: 1500px) {
        .post-by-cat .square h2 {
          font-size: 1.5rem;
          line-height: 2.0625rem; } }
  .post-by-cat .rectangle,
  .post-by-cat .rectangel {
    width: 100%; }
    @media (min-width: 700px) {
      .post-by-cat .rectangle,
      .post-by-cat .rectangel {
        width: 48%; } }
    @media (min-width: 1100px) {
      .post-by-cat .rectangle,
      .post-by-cat .rectangel {
        width: 59.5%; } }
    .post-by-cat .rectangle h2,
    .post-by-cat .rectangel h2 {
      font-size: 1.125rem;
      line-height: 1.5rem; }
      @media (min-width: 1100px) {
        .post-by-cat .rectangle h2,
        .post-by-cat .rectangel h2 {
          font-size: 1.5625rem;
          line-height: 2.125rem; } }
      @media (min-width: 1500px) {
        .post-by-cat .rectangle h2,
        .post-by-cat .rectangel h2 {
          font-size: 1.875rem;
          line-height: 2.5rem; } }
    .post-by-cat .rectangle .featured-content,
    .post-by-cat .rectangel .featured-content {
      padding: 0 5% 1.75rem; }
      @media (min-width: 700px) {
        .post-by-cat .rectangle .featured-content,
        .post-by-cat .rectangel .featured-content {
          padding: 0; } }
  .post-by-cat a:hover .featured-content {
    opacity: 0.7; }
  .post-by-cat.layout-2-Posts .rectangle,
  .post-by-cat.layout-2-Posts .rectangel {
    width: 100%; }
    @media (min-width: 700px) {
      .post-by-cat.layout-2-Posts .rectangle,
      .post-by-cat.layout-2-Posts .rectangel {
        width: 47.7%; } }
  .post-by-cat .full-size {
    padding-bottom: 1.875rem; }
    @media (min-width: 700px) {
      .post-by-cat .full-size {
        margin: 0 -4.3%; } }
    @media (min-width: 1100px) {
      .post-by-cat .full-size {
        margin: 0;
        width: 100%;
        padding-bottom: 3rem; } }
    @media (min-width: 1500px) {
      .post-by-cat .full-size {
        padding-bottom: 3.75rem; } }
    .post-by-cat .full-size .featured-image-holder {
      overflow: hidden;
      position: relative; }
     .post-by-cat .full-size .featured-image-holder .featured-content {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        padding: 0 1rem 1rem;
        -webkit-transition: opacity 0.3s ease;
        transition: opacity 0.3s ease;
      max-width: 100vw !important; }
        @media (min-width: 700px) {
          .post-by-cat .full-size .featured-image-holder .featured-content {
            padding: 0 1.75rem 1.125rem; } }
        @media (min-width: 1100px) {
          .post-by-cat .full-size .featured-image-holder .featured-content {
            max-width: 80%;
            padding: 0 2rem 1.875rem 2rem; } }
        @media (min-width: 1500px) {
          .post-by-cat .full-size .featured-image-holder .featured-content {
            padding: 0 3.9375rem 2.3125rem 3.9375rem;
            max-width: 70%; } }
      .post-by-cat .full-size .featured-image-holder a:hover .featured-content {
        opacity: 0.7; }
    .post-by-cat .full-size .featured-image {
      position: relative; }
      .post-by-cat .full-size .featured-image:before {
        position: absolute;
        content: "";
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        background: transparent -webkit-linear-gradient(top, #00000000 0%, #000000 100%) 0% 0% no-repeat padding-box;
        background: transparent linear-gradient(180deg, #00000000 0%, #000000 100%) 0% 0% no-repeat padding-box;
        opacity: 0.5; }
      .post-by-cat .full-size .featured-image img {
        width: auto;
        max-width: none;
        height: 20rem; }
        @media (min-width: 700px) {
          .post-by-cat .full-size .featured-image img {
            max-width: 100%;
            height: auto; 
          min-width: 100%; } }
    .post-by-cat .full-size h2 {
      font-size: 1.25rem;
      line-height: 1.625rem;
      margin: 0 0 0.4375rem;
      color: #fff; }
      @media (min-width: 700px) {
        .post-by-cat .full-size h2 {
          font-size: 1.5rem;
          line-height: 1.875rem; } }
      @media (min-width: 1100px) {
        .post-by-cat .full-size h2 {
          font-size: 2.5rem;
          line-height: 3.25rem;
          margin: 0 0 0.625rem; } }
      @media (min-width: 1500px) {
        .post-by-cat .full-size h2 {
          font-size: 2.875rem;
          line-height: 3.625rem;
          margin: 0 0 1.0625rem; } }
    .post-by-cat .full-size .reading-time {
      font-size: 0.875rem;
      line-height: 1.25rem;
      color: #fff;
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-align: center;
          -ms-flex-align: center;
              align-items: center; }
      @media (min-width: 1100px) {
        .post-by-cat .full-size .reading-time {
          font-size: 0.9375rem;
          line-height: 1.4375rem; } }
      @media (min-width: 1500px) {
        .post-by-cat .full-size .reading-time {
          font-size: 1rem;
          line-height: 1.5rem; } }
      .post-by-cat .full-size .reading-time .bsf-rt-reading-time {
        background: url("../../../assets/img/lesezeit_neg.svg");
        background-size: 100% auto;
        background-repeat: no-repeat;
        width: 0.875rem;
        height: 0.875rem;
        margin: 0 0.3125rem 0 0; }
        @media (min-width: 1100px) {
          .post-by-cat .full-size .reading-time .bsf-rt-reading-time {
            width: 1rem;
            height: 1rem;
            margin: 0 0.5rem 0 0; } }
        @media (min-width: 1500px) {
          .post-by-cat .full-size .reading-time .bsf-rt-reading-time {
            width: 1.0625rem;
            height: 1.0625rem; } }
  .post-by-cat.layout-3-Posts .posts-holder {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  
  .post-by-cat.layout-3-Posts .rectangle,
  .post-by-cat.layout-3-Posts .rectangel {
    width: 100%;
  }
  
  @media (min-width: 700px) {
    .post-by-cat.layout-3-Posts .rectangle,
    .post-by-cat.layout-3-Posts .rectangel {
      width: 47.7%;
    }
  }

  /* Layout: 2-Post-API (Remote Posts) */
  .post-by-cat.layout-2-Post-API .posts-holder {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  
  .post-by-cat.layout-2-Post-API .rectangle,
  .post-by-cat.layout-2-Post-API .rectangel {
    width: 100%;
  }

  .info-box-title {
    z-index: 2;
    position: relative;
    margin-right: 30px !important;
    margin-top: -20px !important;
  }
  
  @media (min-width: 700px) {
    .post-by-cat.layout-2-Post-API .posts-holder {
      -ms-flex-wrap: nowrap;
      flex-wrap: nowrap;
    }
    
    .post-by-cat.layout-2-Post-API .rectangle,
    .post-by-cat.layout-2-Post-API .rectangel {
      width: 47.7%;
    }
  }
  
  @media (min-width: 1100px) {
    .post-by-cat.layout-2-Post-API .rectangle,
    .post-by-cat.layout-2-Post-API .rectangel {
      width: 47.7%;
    }
  }

  /* Mobile image fix */
  @media (max-width: 420px) {
    .post-by-cat .full-size .featured-image img {
      margin-left: -25%;
    }
  }

  /* Info box title (tagline) - matches infobox block style */
   .info-box-title {
    font-family: 'Roboto-Bold', "Arial", "Helvetica Neue", "Helvetica", sans-serif;
    background-color: #6ABBC6;
    padding: 0 10px;
    border-radius: 6px;
    margin-bottom: 10px;
    display: inline-block;
    float: right;
    color: white;
    font-weight: 600;
    font-size: 16px;
    line-height: 33px;
    margin: -30px;
    text-align: center;
  }
  
  @media (max-width: 900px) {
   .info-box-title {
      margin-right: 20px !important;
    }
  }

  /* Partner logo */
  .partner-logo {
    margin: 20px 0;
  }
  
 .partner-logo img {
    max-width: 100px;
    height: auto;
    border-radius: 0;
    max-height: 50px;
  }
  
  @media (min-width: 1100px) {
    .post-by-cat .partner-logo {
      margin-bottom: 0.75rem;
    }
    
    .post-by-cat .partner-logo img {
      max-width: 100px;
      max-height: 50px;
    }
  }
  
  @media (min-width: 1500px) {
    .post-by-cat .partner-logo {
      margin-bottom: 1rem;
    }
    
    .post-by-cat .partner-logo img {
      max-width: 100px;
      max-height: 50px;
    }
  }

  /* Contest badge */
  .post-by-cat .contest-holder {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: #f69f29;
    color: #fff;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-family: 'Roboto-Bold', "Arial", "Helvetica Neue", "Helvetica", sans-serif;
    border-radius: 3px;
  }
  
  @media (min-width: 1100px) {
    .post-by-cat .contest-holder {
      font-size: 1rem;
      line-height: 1.5rem;
      padding: 0.625rem 1.25rem;
    }
  }

  .layout-2-Post-API .featured-content {
    padding: 0 20px 20px 20px !important;
  }

  .layout-2-Post-API .featured-image img {
    border-radius: 6px 6px 0 0;
  }

  .layout-2-Post-API .flex-item {
    border-radius: 8px;
    border: 1px solid #E2E2E2;
  }

  /* Button styling for 2-Post-API layout */
  .layout-2-Post-API .wp-block-button {
    padding: 0 20px 20px 20px;
    margin-bottom: 20px;
  }

  .layout-2-Post-API .wp-block-button__width-100 {
    padding-left: 0;
    padding-right: 0;
    margin: 20px 0;
  }

  .layout-2-Post-API .wp-block-button__width-100 a {
    padding: 0.5625rem 1.4375rem 0.75rem;
  }

  .layout-2-Post-API .posts-holder {
    margin-bottom: 50px;
  }
  
  .layout-2-Post-API .wp-block-button.has-custom-width.wp-block-button__width-100 {
    width: 100%;
  }
  
  .layout-2-Post-API .wp-block-button__link {
    width: 100%;
    display: block;
    text-align: center;
    font-family: 'Roboto-Bold', "Arial", "Helvetica Neue", "Helvetica", sans-serif;
    font-size: 1rem;
    line-height: 1.5rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
  }

  .layout-2-Post-API .posts-holder .wp-block-button__link {
    width: auto;
    display:inline-block;
  }
  
  .layout-2-Post-API .wp-block-button__link.has-orange-color {
    color: #f69f29;
  }
  
  .layout-2-Post-API .wp-block-button__link.has-light-grey-background-color {
    background-color: #f7f7f7;
  }
  
  .layout-2-Post-API .wp-block-button__link:hover {
    background-color: #dedddd;
  }

  .flex-item.rectangel {
    padding: 0;
}

@media (max-width: 699px) {
  .post-by-cat.layout-2-Post-API {
    margin: auto;
    max-width: calc(100% - 70px);
  }
  
  .post-by-cat.layout-2-Post-API .rectangel {
      margin-bottom: 50px;
  }
  
 .post-by-cat.layout-2-Post-API .posts-holder div.rectangel:last-child {
   margin-bottom: 0;
 }
}

@media (max-width: 499px) {
  .post-by-cat.layout-2-Post-API {
    margin: auto;
    max-width: calc(100% - 40px);
  }
  
 
}