/**
 SASS files that don't get compiled into CSS. Do not put element selectors in here.
 Every file not starting with '_' should import this file if you want to use functions and mixins.
 */
/**
 * SASS variables
 *
 These are only used in the properties and abstract SASS files.
 */
/**
 Breakpoints and columns
 */
/**
 Text
 */
/**
Fill in the header styles, only write the properties you want to override.
 */
/**
  Buttons
 */
/**
 Breakpoints

 @param {Keyword} $breakpoint - The breakpoint name of the minimum width. Can be any of the names in the $breakpoint variable
 */
/**
  Custom column size.
  Especially handy inside other columns.

  @param {Number|string} $size - the size in columns or 'expand'/'shrink'.
  @param {number} $total - the total size in columns. Ignored when size is 'expand'/'shrink'
 */
/**
  Custom offset size.
  Especially handy inside other columns.

  @param {Number|string} $size - the size of the offset.
  @param {number} $total - the total size in columns.
  @param {string} - the side from the offset.
 */
:root {
  --text-block--grid-column: 2 / -2;
  --text-block-margin-bottom: 70px;
}

.text-block {
  margin-bottom: var(--text-block-margin-bottom);
}
.text-block .text-block__title {
  flex: 0 0 300px;
  width: 300px;
}
.text-block .button {
  margin-top: 32px;
}
.text-block .text-block__text {
  flex: 1 1 0;
}
.text-block ul {
  padding: 0 !important;
  list-style: none;
}
.text-block li {
  position: relative;
  margin: 0;
  padding: 16px 0 16px 24px;
  line-height: 1.5;
  border-bottom: 1px solid var(--primary-color);
}
.text-block li:last-child {
  border-bottom: none;
}
.text-block li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--primary-color);
}

.text-block--centered .text-block__content {
  border: none;
  padding: 0;
  justify-content: center;
  margin: 0 auto;
  width: -moz-fit-content;
  width: fit-content;
  display: block;
}
@media (min-width: 992px) {
  .text-block--centered .text-block__content {
    --text-block--grid-column: 9 / -9;
  }
}
.text-block--centered .text-block__content .text-block__text {
  align-items: center;
  width: -moz-fit-content;
  width: fit-content;
  flex: none;
}

.text-block__content {
  grid-column: var(--text-block--grid-column);
  border: 1px solid var(--primary-color);
  border-radius: 50px;
  padding: 65px 190px 60px 100px;
  display: flex;
  justify-content: space-between;
  gap: 76px;
}

.text-block:has(+ .call-to-action, + .gallery) {
  --text-block-margin-bottom: 70px;
}
