﻿:root {
  --gap-small: 18px;
  --gap-normal: 30px;
  --gap-big: 30px;
  --h3-color: #423F3F;
  --h3-size: 18px;
  --text-size: 14px;
  --text-color: #666666;
}

@media screen and (min-width:991px) {
  :root {
    --h3-size: 39px;
    --text-size: 18px;
    --gap-normal: 64px;
    --gap-big: 100px;

  }
}

@media screen and (min-width:1240px) {
  :root {
    --gap-normal: 100px;

  }
}

* {
  box-sizing: border-box;
}

.multi {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--gap-normal);
  width: 100%;
  /*max-width: 1298px;*/
  margin-inline: auto;
  font-family: 'Arial';
  font-size: var(--text-size);
  line-height: 1.3;
  padding-inline: 18px;
}

.gm-item-flex {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: space-between;
  font-weight: 400;
  color: var(--text-color);
  gap: var(--gap-normal);
}

.gm-item-flex.gm-item-wide {
  gap: var(--gap-small);
}

.gm-item-flex.gm-item-wide+.gm-item-cards.reverse .gm-item-media {
  order: 1;
}

.gm-item-cards:before,
.gm-item-cards:after {
  display: none !important;
}

.gm-item-cards.reverse .gm-item-description,
.gm-item-cards.row .gm-item-description {
  text-align: justify;
}

.gm-item-flex.gm-item-video {
  aspect-ratio: 16/9;
}

.gm-item-flex.gm-item-video iframe {
  height: 100%;
  border: 0;
}

.gm-item-flex .gm-item-media img,
.gm-item-flex.gm-item-wide img {
  border-radius: 20px;
  max-width: 100%;
  height: auto;
}

.gm-item-flex.gm-item-wide {
  text-align: center;
  flex-direction: column;
}

.gm-item-flex h3 {
  font-size: var(--h3-size);
  line-height: 1.12;
  font-weight: 700;
  color: var(--h3-color);
  margin: 0;
}

.gm-item-flex.gm-item-wide h3 {
  margin-top: 0;
}

.gm-item-flex .gm-item-content {
  display: flex;
  flex-direction: column;
  gap: var(--gap-small);
}

.gm-item-flex .gm-item-description p,
.gm-item-flex .gm-item-content h3 {
  margin: 0;
}

.gm-item-flex .gm-item-description p+p {
  margin-top: var(--gap-small);
}

.gm-item-group {
  display: flex;
  flex-direction: column;
  gap: var(--gap-normal);
}

.gm-item-flex.gm-item-cards.column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gm-item-flex.gm-item-cards.column .gm-item-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/*Charachteristics*/
.gm-item-flex.item-characteristic {
  text-align: center;
  gap: 10px;
}

.gm-item-flex.item-characteristic h3 {
  font-size: 18px;
  margin: 0;
}

.gm-item-flex.item-characteristic p {
  margin: 0;
}

.gm-characteristics-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  flex-direction: column;
  justify-content: center;
}

.gm-item-group.gm-characteristics {
  display: flex;
  flex-direction: column;
  gap: var(--gap-big);
  padding-bottom:40px
}

.gm-item-group.gm-characteristics>h3 {
  margin: 0;
  font-size: var(--h3-size);
  color: var(--h3-color);
}

.gm-item-flex.item-characteristic img {
  flex-grow: 0;
  max-width: 60px;
  margin-inline: auto;
}

.gm-item-flex.gm-item-wide:has(.gm-item-title) img {
  aspect-ratio: 650/431;
  object-fit: cover;
}

@media screen and (min-width:768px) {
  .multi {
    gap: var(--gap-normal);
  }

  .gm-item-flex {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
  }

  .gm-item-flex.gm-item-wide+.gm-item-cards.reverse .gm-item-media {
    order: unset;
  }

  .gm-item-flex.gm-item-wide:has(.gm-item-title) img {
    aspect-ratio: auto;
  }

  .gm-item-cards.reverse .gm-item-description,
  .gm-item-cards.row .gm-item-description {
    text-align: left;
  }

  .gm-item-flex.gm-item-cards .gm-item-content h3 {
    max-width: 510px;
    width: 100%;
  }

  .gm-item-flex.gm-item-cards.column .gm-item-content h3 {
    max-width: unset;
  }

  .gm-item-flex.gm-item-cards.row .gm-item-content {
    padding-left: 0px;
  }

  .gm-item-flex.gm-item-cards.reverse .gm-item-content {
    padding-right: 0;
  }

  .gm-item-flex.gm-item-cards:not(.column) .gm-item-media,
  .gm-item-flex.gm-item-cards:not(.column) .gm-item-content {
    flex: 1 1 50%;
  }

  .gm-item-flex.reverse {
    flex-direction: row-reverse;
  }

  .gm-characteristics-wrapper {
    flex-direction: row;
    gap: 20px;
  }

  .gm-item-flex.item-characteristic {
    flex-direction: column;
    justify-content: flex-start;
    flex-wrap: wrap;
    flex: 1 1 33%
  }

  .gm-item-flex.item-characteristic h3 {
    margin-top: 16px;
  }

  .gm-item-flex.gm-item-wide h3 {
    margin-top: var(--gap-small);
  }

  .gm-item-group {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 20px;
  }

  .gm-item-flex.gm-item-cards.column {
    flex: 1 1 33%;
    justify-content: flex-start;
  }

  .gm-characteristics-wrapper .gm-item-flex.item-characteristic {
    max-width: 50%;
  }
}

@media screen and (min-width:991px) {
  .gm-characteristics-wrapper {
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-start;
  }

  .gm-item-flex.item-characteristic img {
    max-width: 120px;
  }

  .gm-characteristics-wrapper .gm-item-flex.item-characteristic {
    flex: 1 1 20%;
  }

  .gm-characteristics-wrapper .gm-item-flex.item-characteristic {
    max-width: 216px;
  }
}

@media screen and (min-width:1300px) {
  .multi {
    padding-inline: 0;
  }

  .gm-item-flex.gm-item-cards.row .gm-item-content {
    padding-left: 80px;
  }

  .gm-item-flex.gm-item-cards.reverse .gm-item-content {
    padding-right: 50px;
  }

  .gm-characteristics-wrapper {
    gap: 50px;
  }

  .gm-item-flex.gm-item-cards.column {
    gap: 23px;
  }

  .gm-item-flex.gm-item-cards.column .gm-item-content {
    gap: 16px;
  }

  .gm-item-flex.gm-item-cards.column .gm-item-content h3 {
    font-size: 30px;
  }

  .gm-item-group.gm-characteristics,
  .gm-item-wide+.gm-item-cards {
    margin-top: 40px
  }

  .gm-item-group:has(.column) {
    gap: 80px;
  }
}