.hero-container{
  background: #DEDEED;
  height: 666px;
  overflow: hidden;
}

.hero-container .container {
  max-width: 1140px;
  height: 100%;
}

.hero-container .pre-slider-container{
  margin-bottom: 32px;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 577px;
  grid-template-rows: 275px 1fr;
  grid-template-areas:
      "hero-title hero-slider"
      "hero-buttons hero-slider";
}

.hero-container .pre-slider-container .hero-title{
  grid-area: hero-title;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin-bottom: 32px;
}

.hero-container .pre-slider-container .hero-image {
  display: none;
}

.hero-container .pre-slider-container .hero-image img {
  max-width: 388px;
  border-radius: 15px;
}

.hero-container .pre-slider-container .hero-slider {
  grid-area: hero-slider;
  overflow: hidden;
  position: relative;
}

.hero-container .pre-slider-container .hero-slider-title{
  color: #071209;
  font-size: 60px;
  font-weight: 600;
  letter-spacing: -1.8px;
  margin-bottom: 0;
  line-height: 67px;
}

.hero-container .hero-buttons-features-wrapper {
  grid-area: hero-buttons;
}

.hero-container .hero-buttons-features-wrapper .hero-buttons {
  margin-bottom: 32px;
  display: flex;
  gap: 16px;
}

.hero-container .hero-buttons p.branded-banner-button a {
  display: inline-flex;
  color: #FFF;
  padding: 10px 18px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
}

.hero-container .hero-features ul li {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  gap: 8px;
  color: #071209BB;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.hero-container .hero-features ul li:last-of-type {
  margin-bottom: 0;
}

/* Learn More */
.learn-more {
  padding: 0 0 120px;
  background: #F3F3F3;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='5' cy='5' r='1' fill='%23e2e2e2'/%3E%3C/svg%3E");
  background-repeat: repeat;
}

.learn-more-wrapper {
  position: relative;
}

.read-more-checkbox {
  display: none;
}

.learn-more-content {
  position: relative;
  overflow: hidden;
  line-height: 1.6;
  color: #333;
  font-size: 16px;
}

.learn-more-content p {
  color:#090911;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.learn-more-content h2 {
  color: #090911;
  font-size: 32px;
  font-weight: 600;
  line-height: 42px;
  letter-spacing: -0.96px;
}

.learn-more-content h3,
.learn-more-content h4,
.learn-more-content h5,
.learn-more-content h6 {
  color: #090911;
  font-size: 24px;
  font-weight: 600;
  line-height: 34px;
  letter-spacing: -0.96px;
}

.read-more-checkbox:not(:checked) + .learn-more-content {
  max-height: 300px;
  overflow: hidden;
}

.read-more-checkbox:not(:checked) + .learn-more-content::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50px;
  background: linear-gradient(transparent, #f3f3f3);
  pointer-events: none;
}


.read-more-checkbox:checked + .learn-more-content {
  max-height: none;
  overflow: visible;
}

.read-more-checkbox:checked + .learn-more-content::after {
  display: none;
}

.read-more-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 400px;
  height: 32px;
  padding: 8px 15px;
  color: #090911;
  text-decoration: none;
  font-weight: 400;
  font-size: 16px;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid #090911;
  margin: 35px auto 0 auto;
}

.read-more-button:hover {
  border: 1px solid #232323;
}

.read-more-text {
  display: flex;
  align-items: center;
  gap: 10px;
}

.read-less-text,
.read-less-text svg {
  display: none;
}

.read-more-checkbox:checked ~ .read-more-button .read-more-text {
  display: none;
}

.read-more-checkbox:checked ~ .read-more-button .read-less-text {
  display: inline;
}

@media screen and (max-width: 1199px) {
  .hero-container .pre-slider-container .hero-slider-title {
    font-size: 45px;
    line-height: 52px;
  }
}

@media screen and (max-width: 998px) {
  .hero-container {
    height: auto;
    margin-top: 0;
    padding: 40px 0;
  }

  .hero-container .pre-slider-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: auto;
    max-width: 420px;
    margin: 0 auto;
  }

  .hero-buttons {
    justify-content: center;
  }
  
  .hero-container .hero-features ul {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    column-gap: 35px;
  }

  .hero-container .hero-features ul li {
    min-width: 170px;
  }

  .hero-container .pre-slider-container .hero-slider-title {
    font-size: 38px;
    line-height: 48px;
  }

  .hero-container .hero-slider {
    display: none;
  }

  .hero-container .pre-slider-container .hero-slider {
    display: none;
    visibility: hidden;
  }
}

@media all and (max-width:768px) {
  .hero-container{
    padding: 40px 0px;
  }

  .hero-container .pre-slider-container .hero-image {
    display: block;
    width: 100%;
  }

  .hero-container .pre-slider-container {
    grid-template-columns: 1fr;
    grid-template-areas:
    "hero-title"
    "hero-slider"
    "hero-buttons";
    text-align: center;
    margin-bottom: 0;
  }

  .hero-container .pre-slider-container .hero-slider-title{
    font-size: 32px;
    line-height: normal;
  }
  
  .hero-container .pre-slider-container .hero-slider {
    padding: 0 16px;
  } 

  .hero-container .hero-buttons-features-wrapper {
    padding: 32px 16px 0 16px;
    width: 100%;
  }

  .hero-container .hero-features ul {
    display: block;
    max-width: 230px;
    margin: 0 auto;
  }

  .hero-container .hero-buttons {
    margin-bottom: 32px;
    display: flex;
    gap: 16px;
  }

  .hero-container .hero-buttons p.branded-banner-button a {
    text-transform: unset;
  }

  .hero-container .hero-buttons p.branded-banner-button {
    display: flex;
    flex: 1;
  }

  .hero-container .hero-buttons p.branded-banner-button a {
    flex: 1;
  }

  .hero-container .hero-buttons p.outline-button {
    display: flex;
    flex: 1;
  }

  .hero-container .hero-buttons p.outline-button a {
    flex: 1;
  }

  .learn-more {
    padding: 40px 0;
  }
  
  .learn-more-content {
    font-size: 14px;
  }
  
  .read-more-button {
    padding: 10px 20px;
    font-size: 14px;
  }
}
