.text-gallery {
  padding: 15vw 10vw 125px;
  background-color: var(--foe-color-one);
  position: relative;
}

.page-id-9 .text-gallery {
  background-image: none;
}

.text-gallery .illustration-right {
  width: 250px;
  height: auto;
  position: absolute;
  right: -5vw;
  bottom: 1vw;
  z-index: 1;
}

.page-id-38 .text-gallery {
  background-color: var(--foe-color-five);
}

.text-gallery h3,
.text-gallery h4,
.text-gallery p,
.text-gallery li {
  color: var(--foe-color-four);
}

.page-id-38 .text-gallery h3,
.page-id-38 .text-gallery h4,
.page-id-38 .text-gallery p,
.page-id-38 .text-gallery li {
  color: var(--foe-color-six);
}

.text-gallery ul {
  padding: 0 0 20px 12px;
}

.text-gallery li {
  list-style-image: url('../../img/bullet.png');
  padding: 5px;
}

.text-gallery .columns {
  width: 100%;
}

.text-gallery .column.images {
  display: grid;
  grid-template-columns: repeat(19, 1fr);
  grid-auto-rows: 5vw;
  margin-bottom: 10vw;
}

.text-gallery .column.images .gallery-item:nth-child(1) {
  grid-column: 1 / 12;
  grid-row: 1 / 8;
}

.text-gallery .column.images .gallery-item:nth-child(2) {
  grid-column: 9 / 20;
  grid-row: 6 / 13;
}

.text-gallery .column.images .gallery-item img {
  height: 100%;
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
}

.text-gallery .button {
  background-color: var(--foe-color-two);
  border: 2px solid var(--foe-color-two);
}

.text-gallery .button:hover,
.text-gallery .button:focus,
.text-gallery .button:active {
  background-color: var(--foe-color-one);
  border: 2px solid var(--foe-color-four);
}

.page-id-9 .text-gallery .button:hover,
.page-id-9 .text-gallery .button:focus,
.page-id-9 .text-gallery .button:active {
  background-color: var(--foe-color-one);
  border: 2px solid var(--foe-color-four);
}

.text-gallery .numbered {
  border-top: 1px solid var(--foe-color-two);
  position: relative;
  display: grid;
  grid-template-columns: 50px auto;
  color: var(--foe-color-four);
  padding: 25px 10px;
  align-items: center;
}

.text-gallery .numbered .numbers {
  color: var(--foe-color-four);
  font-family: 'freight-text-pro', serif;
  font-size: 30px;
  text-align: center;
  display: flex;
  align-items: flex-start;
  margin-top: -8px;
}

/**    ███  ██████████  ██████████     ██████████  ███    ███
███    ███  ███    ███  ███    ███     ███    ███   ███  ███
███    ███  ███    ███  ███    ███     ███    ███     ████
██████████  ██████████  ███    ███     ██████████      ██
       ███  ███    ███  ███    ███     ███            ████
       ███  ███    ███  ███    ███     ███          ███  ███
       ███  ██████████  ██████████     ███         ███    █*/

@media only screen and (min-width: 480px) {
}

/**███████  ███         ██████████     ██████████  ███    ███
       ███  ███         ███    ███     ███    ███   ███  ███
       ███  ███         ███    ███     ███    ███     ████
    ██████  ██████████  ██████████     ██████████      ██
       ███  ███    ███  ███    ███     ███            ████
       ███  ███    ███  ███    ███     ███          ███  ███
       ███  ██████████  ██████████     ███         ███    █*/

@media only screen and (min-width: 768px) {
  .text-gallery .illustration-right {
    width: 350px;
  }
}

/**  ██████████  ██████████  ███    ███     ██████████  ███    ███
███  ███    ███         ███  ███    ███     ███    ███   ███  ███
███  ███    ███         ███  ███    ███     ███    ███     ████
███  ███    ███  ██████████  ██████████     ██████████      ██
███  ███    ███  ███                ███     ███            ████
███  ███    ███  ███                ███     ███          ███  ███
███  ██████████  ██████████         ███     ███         ███    █*/

@media only screen and (min-width: 1024px) {
  .text-gallery {
    padding: 15vw 10vw 125px;
  }

  .text-gallery .illustration-right {
    width: 400px;
  }

  .text-gallery .columns {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 50px;
  }

  .text-gallery .column.images {
    grid-column: 1 / 2;
    grid-auto-rows: 2.5vw;
    margin-bottom: 10vw;
  }

  .text-gallery .column.content {
    grid-column: 2 / 3;
    display: flex;
    align-items: center;
    height: calc(100% - 15vw);
  }

  .text-gallery .column h3,
  .text-gallery .column p {
    text-align: left;
  }

  .text-gallery .column p {
    padding: 0;
  }

  .text-gallery .column .button-container {
    justify-content: flex-start;
  }
}

/**  ███    ███  ███    ███  ██████████     ██████████  ███    ███
███  ███    ███  ███    ███  ███    ███     ███    ███   ███  ███
███  ███    ███  ███    ███  ███    ███     ███    ███     ████
███  ██████████  ██████████  ███    ███     ██████████      ██
███         ███         ███  ███    ███     ███            ████
███         ███         ███  ███    ███     ███          ███  ███
███         ███         ███  ██████████     ███         ███    █*/

@media only screen and (min-width: 1366px) {
  .text-gallery {
    padding: 10vw 10vw 125px;
  }

  .text-gallery .columns {
    column-gap: 100px;
  }

  .text-gallery .illustration-right {
    width: 500px;
  }
}

@media only screen and (min-width: 1900px) {
  .text-gallery {
    padding: 10vw 10vw 0;
  }

  .text-gallery .illustration-right {
    width: 600px;
  }
}
