.age-editorial-home-bg {
  width: 100%;
  padding: 3rem 0;
}

.age-editorial-home {
  --aebh-bg: #496d70;
  --aebh-btn-bg: #b1cfc7;
  --aebh-btn-text: #3a5b5e;
  --aebh-text: #ffffff;
  --aebh-text-second: #dfebe8;
  --aebh-brand-green: #82a996;
  --aebh-brand-green-dark: #496d70;
  --aebh-brand-green-darker: #3a5b5e;
  --aebh-brand-green-light: #b1cfc7;
  --aebh-brand-green-lighter: #dfebe8;
  --aebh-brand-green-soft: #a3d2b2;
  --aebh-brand-red-dark: #926c72;
  --aebh-brand-beige: #f0ebe7;
  --aebh-brand-yellow: #f0ea78;
  --aebh-brand-warning: #fa8072;
  --aebh-brand-white: #f5f5f5;
  --ep-green-soft: #b1cfc7;
  --ep-green-dark: #496d70;
  margin: 0 3rem;

}

.age-editorial-home * {
  font-family: Oswald, sans-serif;
}

.age-editorial-home__card {
  background: var(--aebh-bg);
  color: var(--aebh-text);
  border-radius: 18px;
  padding: 1.6rem;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 48%);
  gap: 1.6rem;
  align-items: stretch;
}

.age-editorial-home__copy {
  padding: 1rem 1rem 0.75rem 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.age-editorial-home__content {
  max-width: 760px;
  line-height: 1.35;
  font-size: clamp(1.12rem, 1.22vw, 2rem);
}

.age-editorial-home__content p:last-child {
  margin-bottom: 0;
}

.age-editorial-home__content h2,
.age-editorial-home__content h3 {
  font-size: 20px;
  color: var(--aebh-text-second);
  font-weight: 700;
  margin-bottom: 1.25rem;
}
.age-editorial-home__content p, .age-editorial-home__content p  span, .age-editorial-home__content p  em{
  font-size: 18px;
  color: var(--aebh-text);
  font-family: arvo, sans-serif;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.age-editorial-home__content ul,
.age-editorial-home__bottom-content ul {
  list-style-type: disc !important;
  padding-left: 1.2rem;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.age-editorial-home__content ul li,
.age-editorial-home__bottom-content ul li {
  list-style-type: disc !important;
  display: list-item;
  font-size: 17px;
}

.age-editorial-home__content table,
.age-editorial-home__bottom-content table {
  border-collapse: collapse;
  margin: 1.5rem auto;
  font-size: 14px;
  background: #ffffff;
  color: #41595d;
  overflow: hidden;
  display: block;
  overflow-x: auto;
  white-space: nowrap;
  width: fit-content;
  height: fit-content !important;
  max-width: 100% !important;
}

.age-editorial-home__content table thead th,
.age-editorial-home__bottom-content table thead th {
  background: #edf3f0;
  color: #42595d;
  font-weight: 600;
  text-align: left;
  padding: 12px 14px;
  border: 1px solid #41595d;
}

.age-editorial-home__content table th,
.age-editorial-home__content table td,
.age-editorial-home__bottom-content table th,
.age-editorial-home__bottom-content table td {
  padding: 12px 14px;
  border: 1px solid #41595d;
  vertical-align: top;
  font-family: arvo, serif;
  font-size: 14px;
  line-height: 1.45;
  background: #ffffff;
  color: #41595d;
  height: fit-content !important;
}

.age-editorial-home__content table td h3,
.age-editorial-home__bottom-content table td h3 {
  margin: 0;
}

.age-editorial-home__content table tbody tr:first-child td,
.age-editorial-home__bottom-content table tbody tr:first-child td {
  background: #edf3f0;
  color: #42595d;
  font-weight: 600;
}

.age-editorial-home__content table caption,
.age-editorial-home__bottom-content table caption {
  caption-side: bottom;
  padding-top: 0.5rem;
  color: #41595d;
  font-size: 14px;
}


.age-editorial-home__media {
  border-radius: 12px;
  overflow: hidden;
  min-height: 240px;
}

.age-editorial-home__image {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  display: block;
}

.age-editorial-home__bottom-content p{
  color: #42595d;
  font-size: 17px;
  line-height: 1.5;
  padding: 0 1rem;
  max-width: 1100px;
  margin: 2.35rem auto;
}

.age-editorial-home__bottom-content p:last-child {
  margin-bottom: 0;
}

.age-editorial-home__actions {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
}

.age-editorial-home__button {
  font-family: arvo, serif;
  font-size: 17px;
  font-weight: bold;
  border-radius: 20px;
  padding: 2rem 4rem;
  background: var(--ep-green-soft);
  color: var(--aebh-btn-text);
  border: 1px solid var(--aebh-btn-text);
  transition: all 200ms ease-in-out;
  text-align: center;
}

.age-editorial-home__button:hover,
.age-editorial-home__button:focus {
  background: var(--ep-green-dark);
  border-color: var(--ep-green-dark);
  color: #fff;
  transition: all 200ms ease-in-out;

}

@media (max-width: 991px) {
  .age-editorial-home-bg {
    padding: 1.5rem 0 2rem;
  }

  .age-editorial-home {
    margin: 0 3rem;
  }

  .age-editorial-home__card {
    border-radius: 14px;
    padding: 1rem;
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .age-editorial-home__copy {
    padding: 0.5rem;
  }

  .age-editorial-home__content {
    font-size: 1rem;
    line-height: 1.5;
  }

  .age-editorial-home__content p, .age-editorial-home__content p  span, .age-editorial-home__content p  em{
    font-size: 14px;
  }

  .age-editorial-home__content table,
  .age-editorial-home__bottom-content table {
    -webkit-overflow-scrolling: touch;
  }

  .age-editorial-home__content table th,
  .age-editorial-home__content table td,
  .age-editorial-home__bottom-content table th,
  .age-editorial-home__bottom-content table td {
    font-size: 14px;
    padding: 12px 14px;
    white-space: nowrap;
  }

  .age-editorial-home__media {
    min-height: 180px;
  }

  .age-editorial-home__bottom-content {
    margin-top: 1rem;
  }

  .age-editorial-home__bottom-content p{
    font-size: 14px;

  }

  .age-editorial-home__button {
    width: min(100%, 320px);
    min-height: 50px;
    min-width: 0;
    font-size: 15px;
  }
}
