@media screen and (max-width: 992px) {
  #archive-materials-wrapper .container {
    width: 90%;
  }
}

#archive-materials-wrapper .row {
  display: block;
}

#archive-materials-wrapper .sub-title {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 2px;
}

#archive-materials-wrapper .materials-grid {
  margin-top: 100px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

#archive-materials-wrapper .materials-grid .materials-item {
  width: calc(33.333% - 30px);
  box-sizing: border-box;
  box-shadow: 0px 4px 14px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
}

@media screen and (max-width: 768px) {
  #archive-materials-wrapper .materials-grid .materials-item {
    width: calc(50% - 20px);
  }
}

@media screen and (max-width: 480px) {
  #archive-materials-wrapper .materials-grid .materials-item {
    width: calc(100% - 20px);
    margin: 0 auto;
  }
}

#archive-materials-wrapper .materials-grid .materials-item a:hover {
  text-decoration: none;
}

#archive-materials-wrapper
  .materials-grid
  .materials-item
  .materials-image
  img {
  width: 100%;
  margin-bottom: 10px;
}

#archive-materials-wrapper .materials-grid .materials-item .materials-content {
  padding: 15px;
}

#archive-materials-wrapper
  .materials-grid
  .materials-item
  .materials-content
  .materials-title {
  margin-bottom: 20px;
  font-size: 18px;
  color: #333;
  font-weight: 700;
}

#archive-materials-wrapper
  .materials-grid
  .materials-item
  .materials-content
  .materials-description
  .materials-description-text {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

#archive-materials-wrapper
  .materials-grid
  .materials-item
  .materials-content
  .materials-download
  .materials-download-btn {
  width: 80%;
  background-color: #00ba96;
  margin: 0 auto;
  color: #fff;
  text-align: center;
  border-radius: 30px;
  height: 50px;
  line-height: 50px;
  font-weight: bold;
}

@media screen and (max-width: 992px) {
  #single-materials-wrapper .container .row {
    display: block;
  }
}

#single-materials-wrapper .container .col-md-8 {
  flex: 0 0 60%;
  max-width: 60%;
}

@media screen and (max-width: 992px) {
  #single-materials-wrapper .container .col-md-8 {
    max-width: 100%;
  }
}

#single-materials-wrapper .container .col-md-4 {
  flex: 0 0 40%;
  max-width: 40%;
}

@media screen and (max-width: 992px) {
  #single-materials-wrapper .container .col-md-4 {
    max-width: 100%;
    margin-top: 40px;
  }
}

@media screen and (max-width: 992px) {
  #single-materials-wrapper .container .col-md-4 .footer-cta-box {
    padding-bottom: 40px;
  }
}

#single-materials-wrapper
  .container
  .col-md-4
  .footer-cta-box
  .footer-cta-box__text {
  padding: 0 16px;
}
