.section-2 {
  /* background-color: #29363B; */
  background-color: #f0f0f0;
}

.section-2__container {
  max-width: 128rem;
  width: calc(100% - 2rem);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: 4rem 0 6rem 0; 
  /* color: #EBEBEB; */
}

.section-2__heading{
  display: flex;
  flex-direction: column;
  align-items: center;
}
.section-2__heading::after{
  content: "";
  background-color: #AC0000;
  width: 5rem;
  height: .4rem;
  margin-top: 1rem; 
}

.section-2__detail{
  text-align: center;
  line-height: 1.7; 
}

.section-2__paper{
  display: flex;
  gap: 1rem;
}
@media screen and (max-width: 56.25rem) {
  .section-2__paper{
    flex-wrap: wrap;
  }
}
.section-2__paper-wrapper {
  width: calc(100% - 0.5rem);
}
.section-2__paper-img{
  width: 100%;
  margin-bottom: 0.5rem;
  transform: translateY(5rem);
  opacity: 0.1;
  transition: 1s ease;
}
.section-2__paper-desc{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  min-height: 15rem;
  margin-bottom: 2rem;
  background-color: rgba(100,100,100,0.2);
  padding: 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 .5rem 1rem 0 rgba(0, 0, 0, 0.2);
  text-align: center;
}
.section-2__paper-desc h3{
  margin: 0.5rem 0 0 0;
}
.section-2__paper-desc p{
  margin: 0;
  line-height: 1.6;
}
.section-2__paper-desc span{
  font-size: 1.4rem;
  color: #6e6e6e;
} 
.section-2__card{
  display: flex;
  gap: 2.6rem;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
}

.section-2__card > div {
  flex: 1;
  aspect-ratio: 3/4;
  min-width: 20rem; 
  max-width: 30rem;
  /* width: 30rem; */
  /* max-width: 20rem;  */
  /* height: 40rem;  */
  border: solid gray .1rem; 
}

.section-2__background{
  position: absolute;
  /* right: 0; */
  /* bottom: 1rem;  */
  font-weight: 600;
  font-size: 15rem;
  color: rgba(182,182,182,0.05);
  transform: translateY(-27rem);
}
@media screen and (max-width: 37.5rem) {
  .section-2__background{
    display: none;
  }
}

.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 128rem;
  overflow: hidden;
  gap: 2.5rem;
  /* margin: 2rem 0 8rem; */
}
@media (min-width: 128rem) {
  .container {
    flex-wrap: nowrap;
  }
}
.container > div {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
}
@media screen and (max-width: 37.5rem) {
  .container > div {
    flex-wrap: wrap;
  }
}
.card {
  /* width: 28.6rem; */
  max-width:30rem; 
  margin: 1rem 0;
  /* background-color: white; */
  box-shadow: 0 .5rem 1rem 0 rgba(0, 0, 0, 0.5);
  transform: translateY(5rem);
  opacity: 0.1;
  transition: 1s ease;
}
.card:hover .card__caption {
  top: 50%;
  transform: translateY(-50%);
}
.card:hover .card__image {
  /* transform: translateY(-1rem); */
  transform: scale(1.1);
  
}
.card:hover .card__thumb::after {
  top: 0;
}
.card:hover .card__snippet {
  margin: 2rem 0;
}
.card__thumb {
  margin: 0; 
  position: relative;
  max-height: 40rem;
  overflow: hidden;
}
@media (min-width: 102.4rem) {
  .card__thumb {
    /* max-height: 40rem; */
  }
}
.card__thumb::after {
  position: absolute;
  top: 0;
  display: block;
  content: "";
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.5) 40%, rgba(255, 255, 255, 0) 100%);
  transition: 0.3s;
}
@media (min-width: 102.4rem) {
  .card__thumb::after {
    top: calc(100% - 14rem);
  }
}
.card__image {
  transition: 0.5s ease-in-out;
}
.card__caption {
  position: absolute;
  width: 100%;
  top: 50%;
  z-index: 1;
  padding: 0 2rem;
  color: #dcdcdc;
  transform: translateY(-50%);
  text-align: center;
  transition: 0.3s;
}
@media (min-width: 102.4rem) {
  .card__caption {
    top: calc(100% - 11rem);
    transform: unset;
  }
}
.card__title {
  display: -webkit-box;
  letter-spacing: 0.2rem;
  max-height: 8.5rem;
  overflow: hidden;
  font-family: "Playfair Display", serif;
  font-size: 2.3rem;
  line-height: 2.8rem;
  text-shadow: rem .1rem .5rem black;
  text-overflow: ellipsis;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.card__snippet {
  display: -webkit-box;
  max-height: 15rem;
  margin: 2rem 0;
  overflow: hidden;
  font-family: "Roboto", sans-serif;
  font-size: 1.6rem;
  line-height: 2rem;
  text-overflow: ellipsis;
  transition: 0.5s ease-in-out;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
}
@media (min-width: 102.4rem) {
  .card__snippet {
    margin: 6rem 0;
  }
}
.card__button {
  display: inline-block;
  padding: 1rem 2rem;
  color: white;
  margin-top: 5rem;
  /* border: .1rem solid white; */
  background-color: rgba(100,100,100,0.5);
  font-family: "Roboto", sans-serif;
  font-size: 1.2rem;
  text-transform: uppercase;
  text-decoration: none;
  transition: 0.3s;
  border-radius: 1rem;
}
.card__button:hover {
  color: black;
  background-color: white;
}

.disclaimer {
  position: fixed;
  bottom: 0;
  left: 50%;
  z-index: 2;
  box-sizing: border-box;
  width: 100%;
  padding: 2rem 1rem;
  background-color: white;
  transform: translateX(-50%);
  font-family: "Roboto", sans-serif;
  font-size: 1.4rem;
  text-align: center;
}
.disclaimer__link {
  color: #755D87;
  text-decoration: none;
}