.article-wrapper {
  margin: 0;
  height: calc(100vh - 4.75rem);
  /*background-image: url('https://upload.wikimedia.org/wikipedia/commons/thumb/0/08/Alexanderplatz_Stadtmodell_1.jpg/1920px-Alexanderplatz_Stadtmodell_1.jpg');*/
  /*background-image: url('https://newsomatic.net/dynamicv2/content/files/../cover866654273.jpg');*/
  /*background-size: cover;*/
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  overflow: hidden;
}

.force-aspect-2by3 {
  width:  calc((100vh - 10rem) * (2048 / 1219));
  height: calc((100vw - 100px) * (1219 / 2048));
  /*min-width:  100vw;     /*  for cover    */
  /*min-height: 100vh;     /*  for cover    */
  max-width:  calc(100vw - 100px);       /* for contain */
  max-height: calc(100vh - 10rem);       /* for contain */
}
.modal-video-container {
  width:  calc((100vh) * (2048 / 1536));
  height: calc((100vw) * (2048 / 1536));
  /*min-width:  100vw;     /*  for cover    */
  /*min-height: 100vh;     /*  for cover    */
  max-width:  calc(100vw);       /* for contain */
  max-height: calc(100vh);       /* for contain */
  z-index: 1;
}
.modal-video-container > video {
  width: 100%;
  height: 100%;
}

.article-container {
  position: relative;
  /*width:  calc(100vh * (1920 / 1368));*/
  /*height: calc(100vw * (1368 / 1920));*/
  width:  calc((100vh - 4.75rem) * (2048 / 1536));
  height: calc(100vw * (1536 / 2048));
  /*min-width:  100vw;     /*  for cover    */
  /*min-height: 100vh;     /*  for cover    */
  max-width:  100vw;       /* for contain */
  max-height: calc(100vh - 4.75rem);       /* for contain */
  top:  50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
/*
$tablet: 769px
$desktop: 960px
$widescreen: 1152px
$fullhd: 1344px
*/
@media only screen and (min-width: 769px) and (max-width: 1023px) {
    /* for sumo sized (mac) screens */
  /* We have a fixed top nav and a fixed bottom nav*/
  .article-container {
    width:  calc((100vh - 2 * 4.75rem) * (2048 / 1536));
    height: calc(100vw * (1536 / 2048));
    /*min-width:  100vw;     /*  for cover    */
    /*min-height: 100vh;     /*  for cover    */
    max-width:  100vw;       /* for contain */
    max-height: calc(100vh - 2 * 4.75rem);       /* for contain */
  }
  .article-wrapper {
    height: calc(100vh - 2 * 4.75rem);
  }
}


.article-headline {
  font-weight: 800;
  font-size: 24px;
  /*line-height: 40px;*/
}
.article-sub-headline {
  font-weight: 500;
  font-size: 20px;
  /*line-height: 20px;*/
}
.article-text {
  font-family: "Montserrat";
  font-size: 16pt;
  font-weight: normal;
  color: #000;
}

.article-square {
  position: relative;
  padding-bottom: 100%;
}

.article-square.is-position-1 .article-header {
  position: absolute;
  overflow: auto;
  top: 7%;
  left: 10%;
  width: 80%;
  height: 12%;
  border-radius: 10px;
  /*background-color: rgba(255,0,0,.7);*/
}
.article-square.is-position-1 .article-text-wrapper {
  position: absolute;
  overflow: auto;
  top: 20%;
  left: 10%;
  width: 48%;
  height: 50%;
  border-radius: 10px;
  /*background-color: rgba(255,0,0,.7);*/
}
.article-square.is-position-1 .article-main-image {
  display: none;
}

.article-square.is-position-2 .article-header {
  position: absolute;
  overflow: auto;
  top: 10%;
  left: 10%;
  width: 33%;
  height: 23%;
  border-radius: 10px;
  /*background-color: rgba(255,0,0,.7);*/
}
.article-square.is-position-2 .article-main-image {
  position: absolute;
  overflow: hidden;
  top: 3%;
  right: 10%;
  width: 45%;
  height: 30%;
  /*background-color: rgba(255,0,0,.7);*/
  background-size: contain;
  background-repeat: no-repeat;
}
.article-square.is-position-2 .article-text-wrapper {
  position: absolute;
  overflow: auto;
  top: 35%;
  left: 10%;
  width: 80%;
  height: 40%;
  border-radius: 10px;
  /*background-color: rgba(255,0,0,.7);*/
}

.article-square.is-position-3 .article-header {
  position: absolute;
  overflow: auto;
  top: 2%;
  right: 8%;
  width: 45%;
  height: 15%;
  border-radius: 10px;
  /*background-color: rgba(255,0,0,.7);*/
}
.article-square.is-position-3 .article-main-image {
  position: absolute;
  overflow: hidden;
  bottom: 27%;
  left: 8%;
  width: 36%;
  height: 65%;
  /*background-color: rgba(255,0,0,.7);*/
  background-size: contain;
  background-repeat: no-repeat;
}
.article-square.is-position-3 .article-text-wrapper {
  position: absolute;
  overflow: auto;
  top: 17.5%;
  right: 8%;
  width: 45%;
  height: 57.5%;
  border-radius: 10px;
  /*background-color: rgba(255,0,0,.7);*/
}

.article-square.is-position-4 .article-header {
  position: absolute;
  overflow: auto;
  top: 8%;
  left: 8%;
  width: 45%;
  height: 15%;
  border-radius: 10px;
  /*background-color: rgba(255,0,0,.7);*/
}
.article-square.is-position-4 .article-main-image {
  position: absolute;
  overflow: hidden;
  top: 5%;
  right: 8%;
  width: 36%;
  height: 65%;
  /*background-color: rgba(255,0,0,.7);*/
  background-size: contain;
  background-repeat: no-repeat;
}
.article-square.is-position-4 .article-text-wrapper {
  position: absolute;
  overflow: auto;
  top: 23.5%;
  left: 8%;
  width: 45%;
  height: 51.5%;
  border-radius: 10px;
  /*background-color: rgba(255,0,0,.7);*/
}


.article-square.is-position-5 .article-header {
  position: absolute;
  overflow: auto;
  top: 8%;
  left: 11%;
  width: 78%;
  height: 10.5%;
  border-radius: 10px;
  text-align: right;
  /*background-color: rgba(255,0,0,.7);*/
}
.article-square.is-position-5 .article-main-image {
  display: none;
}
.article-square.is-position-5 .article-text-wrapper {
  position: absolute;
  overflow: auto;
  top: 19%;
  left: 40%;
  width: 47%;
  height: 50%;
  border-radius: 10px;
  /*background-color: rgba(255,0,0,.7);*/
}

.article-text > p:not(:last-child) {
  margin-bottom: 25px;
}
.vocabulary {
  display: inline-block;
}
.vocabulary .vocabulary-link {
  display: inline-block;
  cursor: pointer;
  text-decoration: underline;
  color: blue;
}
.vocabulary .vocabulary-fade {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000000;
  opacity: 0.6;
  z-index: 100;
}
.vocabulary .vocabulary-popup {
  position: fixed;
  top: 50%;
  transform: translateY(-50%) translateX(-50%);
  left: 50%;
  padding: 10px;
  margin: 10px;
  background-color: white;
  color: black;
  border: 6px solid black;
  border-radius: 8px;
  z-index: 101;
}
.button-bare {
  border: none;
}
.icon-has-shadow {
  box-shadow: 0 3px 3px rgba(2,2,85,.15);
  border-radius: 50%;
  padding: 10px;
  background-color: #fff;
  border: 1px solid #efefef;
}
.modal-content > .card .card-close-icon {
  position: absolute;
  right: 2px;
  top: 4px;
}
.card .card-close-icon {
  position: absolute;
  right: -10px;
  top: -10px;
}
