/* File: memberAccessSection.css */
/* Digital Welcome Landing Page - Member Access Section */

.aarp-c-lp-ma__container {
  --primary-deep-ink-121212: #121212;
  background-color: #F5F5F5;
  text-align: center;
  font-family: Lato;
  font-style: normal;
  color: #000;
  padding: 60px 0;
}

.aarp-c-lp-ma__container-title {
  font-size: 30px;
  font-weight: 800;
  line-height: 38px;
  margin: 0 0 10px;
}

.aarp-c-lp-ma__container-descr {
  font-size: 20px;
  line-height: 25px;
  font-weight: 400;
  margin: 10px 0 30px;
  padding: 0 30px;
}

.aarp-c-lp-ma__wrapper {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  color: var(--primary-deep-ink-121212, #121212);
  text-align: left;
}

.aarp-c-lp-ma__item {
  width: 32%;
  margin-right: 2%;
}

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

.aarp-c-lp-ma__item--image {
  border: 1px solid lightgray;
  border-radius: 4px;
  overflow: hidden;
  height: 219px;
}

.aarp-c-lp-ma__item--image img {
  max-width: 100%;
}

.aarp-c-lp-ma__item-title {
  font-size: 20px;
  font-weight: 800;
  line-height: 25px;
  margin-top: 10px;
}

.aarp-c-lp-ma__item-description {
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  margin: 5px 0;
}

.aarp-c-lp-ma__item-flag {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.aarp-c-lp-ma__item-flag-descr {
  font-size: 12px;
  font-weight: 700;
  line-height: 20px;
  text-transform: uppercase;
  margin-left: 5px;
}

.aarp-c-lp-ma__item-cta {
  color: #FFF;
}

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

.aarp-c-lp-ma__item-button:hover,
.aarp-c-lp-ma__item-button:focus {
  background: #AB2125;
  border: 2px solid #AB2125;
}

/* Member Access Section Tablet styles */

@media (max-width: 991px) {
  .aarp-c-lp-ma__wrapper\@tablet {
    flex-wrap: wrap;
    max-width: 690px;
  }

  .aarp-c-lp-ma__item--image {
    height: auto;
  }

  .aarp-c-lp-ma__item\@tablet {
    width: 49%;
  }

  .aarp-c-lp-ma__item\@tablet:nth-child(even) {
    margin-right: 0;
    margin-bottom: 30px;
  }
}

/* Member Access Section Mobile styles */

@media (max-width: 767px) {
  .aarp-c-lp-ma__container\@mobile {
    padding: 60px 0;
  }

  .aarp-c-lp-ma__wrapper\@mobile {
    max-width: 100%;
    padding: 0 30px;
    flex-direction: column;
    margin-right: 0;
    margin-bottom: 30px;
  }

  .aarp-c-lp-ma__item\@mobile {
    width: 100%;
    margin-right: 0;
    margin-bottom: 30px;
  }

  .aarp-c-lp-ma__item\@mobile:last-child {
    margin-bottom: 0;
  }

  .aarp-c-lp-ma__item-button\@mobile {
    width: 100%;
  }
}

