/* Stack Section */
.stack {
  width: 100vw;
  background: #494949;
  padding: 40px 20px;
  box-sizing: border-box;
}

.stack-content {
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
}

.stack-image {
  display: block;
  margin-bottom: 30px;
}

.stack-img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.stack-text-wrapper {
  width: 100%;
}

.stack-title {
  color: #c5cacd;
  font-family: 'TT Fors Trial Light', Arial, sans-serif;
  font-weight: 300;
  font-size: 11.7vw;
  line-height: 1.32;
  text-align: left;
  margin: 0 0 40px 0;
  width: 100%;
  letter-spacing: 0.01em;
}

.stack-title br {
  display: none;
}

.stack-text {
  margin-bottom: 0;
}

.stack-paragraph {
  color: #c5cacd;
  font-family: 'TT Fors Trial Regular', Arial, sans-serif;
  font-weight: 400;
  font-size: 4.8vw;
  line-height: 1.54;
  text-align: left;
  margin: 0 0 20px 0;
  letter-spacing: 0.01em;
  width: 100%;
  word-break: break-word;
  white-space: normal;
  text-align: left;
  position: relative;
  padding-left: 20px;
}

.stack-paragraph strong {
  font-weight: 600;
}

.stack-paragraph:before {
  content: '•';
  position: absolute;
  left: 0;
  top: 0;
  color: #c5cacd;
  font-weight: 400;
  font-size: 2em;
  line-height: 0.5;
}

.bullet {
  display: none;
}

/* Desktop styles */
@media (min-width: 600px) {
  .stack-title {
    font-size: 155px;
  }
  .stack-paragraph {
    font-size: 24px;
  }
}

@media (min-width: 1024px) {
  .stack {
    padding: 80px 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 600px;
  }
  .stack-content {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
  }
  .stack-text-wrapper {
    order: 1;
  }
  .stack-image {
    display: block;
    order: 2;
  }
  .stack-img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
  }
  .stack-title {
    font-size: 56px;
    font-weight: 300;
    text-align: left;
    line-height: 1.2;
    margin-bottom: 30px;
  }
  .stack-title br {
    display: block;
  }
  .stack-paragraph {
    font-size: 18px;
    font-weight: 400;
    text-align: left;
    line-height: 1.5;
    margin-bottom: 20px;
    padding-left: 25px;
  }
  .stack-paragraph:before {
    left: 0;
    top: 0;
    font-size: 2em;
    line-height: 0.5;
  }
  .stack-paragraph br {
    display: none;
  }
}