/* Styles for src/pages/aws-partner.njk.
   Moved out of the template; the aws-<tag>-<n> classes replace former
   inline style attributes. Give them meaningful names when you next edit them. */

@layer site {
  .about-section {
    display: flex;
    align-items: center;
    width: 100%;
  }

  .about-image {
    width: 50%;
  }

  .about-content {
    width: 50%;
    padding: 40px;
  }

  /* Stack on smaller displays */
  @media (max-width: 980px) {
    .about-section {
      flex-direction: column;
    }

    .about-image,
    .about-content {
      width: 100%;
    }

    .about-content {
      padding: 60px 40px;
    }
  }

  @media (max-width: 767px) {
    .about-content {
      padding: 40px 20px;
    }

    .about-content h2 {
      font-size: 36px;
    }

    .about-content .kicker {
      font-size: 22px;
    }

    section .container {
      padding: 40px 20px;
    }
  }
}

/* Former inline styles: unlayered so they keep priority over the site
   stylesheets, as inline styles did. */
.aws-section-1 {
  padding: 60px 40px;
}

.aws-div-1 {
  max-width: 1200px;
  margin: 0 auto;
}

.aws-h2-1 {
  color: var(--color-heading);
  margin-bottom: 20px;
  font-size: 50px;
  font-weight: 800;
}

.aws-p-1 {
  font-size: 20px;
  line-height: 1.4;
  margin-bottom: 30px;
  font-weight: 700;
  color: #333;
}

.aws-p-2 {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.aws-a-1 {
  color: var(--color-link);
  text-decoration: underline;
  overflow-wrap: anywhere;
}

.aws-div-2 {
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
}

.aws-img-1 {
  max-width: 400px;
  width: 80%;
  height: auto;
  display: block;
  padding: 40px;
}

.aws-section-2 {
  padding: 60px 40px;
  background-color: var(--color-bg-light);
}

.aws-div-3 {
  max-width: 900px;
  margin: 0 auto;
}

.aws-h3-1 {
  color: var(--color-subheading);
  margin-bottom: 10px;
  font-size: 28px;
  font-weight: 800;
  text-align: center;
}

.aws-h2-2 {
  color: var(--color-heading);
  margin-bottom: 30px;
  font-size: 40px;
  font-weight: 800;
  text-align: center;
}

.aws-ul-1 {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
  padding-left: 20px;
}

.aws-p-3 {
  font-size: 16px;
  line-height: 1.8;
}

.aws-a-2 {
  color: var(--color-link);
  font-weight: 600;
}
