/* File: discountAggregatorSection.css */

.aarp-c-lp-dgr {
  max-width: 1200px;
  margin: 60px auto;
}

.aarp-c-lp-dgr__wrapper {
  display: flex;
}

.aarp-c-lp-dgr__item {
  width: 49%;
  margin-right: 2%;
}

.aarp-c-lp-dgr__item:last-child {
  margin-right: 0;
}

.aarp-c-lp-dgr__image {
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid #D5D5D5;
  background: #F9F9F9;
  min-height: 335px;
  display: grid;
  place-items: center;
}

.aarp-c-lp-dgr__image img {
  max-width: 219px;
}

.aarp-c-lp-dgr__title {
  color: #121212;
  font-family: Lato;
  font-size: 24px;
  font-style: normal;
  font-weight: 800;
  line-height: 30px;
  margin: 10px 0 5px;
}

.aarp-c-lp-dgr__content {
  color: #121212;
  font-family: Lato;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  margin-bottom: 20px;
}

.aarp-c-lp-dgr__button {
  width: fit-content;
  padding: 0 40px;
}

.aarp-c-lp-dgr__button:hover,
.aarp-c-lp-dgr__button:focus {
  background: #AB2125;
  color: #FFF;
  border: 2px solid #AB2125;
}

@media (max-width: 991px) {
  .aarp-c-lp-dgr\@tablet {
    max-width: 100%;
    margin: 40px;
  }
  .aarp-c-lp-dgr__image {
    height: 193px;
    min-height: unset;
    width: 100%;
  }
  .aarp-c-lp-dgr__image img {
    height: inherit;
  }
  .aarp-c-lp-dgr__title {
    font-size: 20px;
    line-height: 25px;
  }
}

@media (max-width: 767px) {
  .aarp-c-lp-dgr\@mobile {
    max-width: 100%;
    margin: 30px;
  }
  .aarp-c-lp-dgr__wrapper\@mobile {
    flex-direction: column;
  }
  .aarp-c-lp-dgr__item\@mobile {
    width: 100%;
    margin-right: 0;
    margin-bottom: 30px;
  }
  .aarp-c-lp-dgr__item\@mobile:last-child {
    margin-bottom: 0;
  }
  .aarp-c-lp-dgr__button\@mobile {
    width: 100%;
  }
}
