/* ------------------------------------------------------------------------------------
Basic Settings
------------------------------------------------------------------------------------ */

.wbox-gallery {
    margin-bottom: 40px;
}

.wbox-gallery figure {
	margin: 0 !important;
  position: relative;
  overflow: hidden;
}

/* ------------------------------------------------------------------------------------
Layout Uniform
------------------------------------------------------------------------------------ */

.wbox-gallery.uniform {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1rem;
    margin: 0 auto;
  }

  .wbox-gallery.uniform > figure a {
    aspect-ratio: 3 / 2; /* Basic 3 zu 2 aspect-ratio */
    display: block;
    width: 100%;
  }

  .wbox-gallery.uniform > figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .wbox-gallery.uniform > figure figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    transform: translateY(100%);
    transition: 0.3s all ease-in-out;
    font-size: 0.8em;
  }
  .wbox-gallery.uniform > figure figcaption > div {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .wbox-gallery.uniform > figure:hover figcaption {
    transform: translateY(0%);
  }

  /*
  Formate Alternativen zu 3 zu 2
  ------------------------------------------------------------------------------------
  */

  /* 3 zu 2 */
  .wbox-gallery.uniform.form3-2 > figure a {
    aspect-ratio: 3 / 2;
  }

  /* Quadrat */
  .wbox-gallery.uniform.form1-1 > figure a {
    aspect-ratio: 1 / 1;
  }

  /* 4 zu 3 */
  .wbox-gallery.uniform.form4-3 > figure a {
    aspect-ratio: 4 / 3;

  }
  /* 3 zu 4 */
  .wbox-gallery.uniform.form3-4 > figure a {
    aspect-ratio: 3 / 4;
  }

  /*
  GRID Styles
  ------------------------------------------------------------------------------------
  */

  /* --- 2 Col --- */

  @media (min-width: 768px) {
    .wbox-gallery.uniform-col2 {
      grid-template-columns: repeat(2, minmax(0, 1fr));

    } 
  }

  /* --- 3 Col --- */

  @media (min-width: 768px) {
    .wbox-gallery.uniform-col3 {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
  }


  /* --- 4 Col --- */

  @media (min-width: 768px) {
    .wbox-gallery.uniform-col4 {
      grid-template-columns: repeat(1, minmax(0, 2fr));
    }
  }
  @media (min-width: 992px) {
    .wbox-gallery.uniform-col4 {
      grid-template-columns: repeat(1, minmax(0, 3fr));
    }
  }
  @media (min-width: 1200px) {
    .wbox-gallery.uniform-col4 {
      grid-template-columns: repeat(1, minmax(0, 4fr));
    }
  }


  /*
  ------------------------------------------------------------------------------------
  END GRID Styles
  */


.ccm-block-share-this-page ul.list-inline{display:inline-block;margin:0;padding:0}.ccm-block-share-this-page ul.list-inline li{display:inline-block;list-style-type:none;margin-right:10px;padding:0}.ccm-block-share-this-page svg{max-height:13px}.ccm-block-social-links ul.list-inline{display:inline-block;margin:0;padding:0}.ccm-block-social-links ul.list-inline li{display:inline-block;list-style-type:none;margin-right:10px;padding:0}.ccm-block-social-links svg{max-height:13px}




