.employer-record-section {
  background-color: #ffffff;
  display: flex;
  padding-right: 80px;
  padding-top: 9px;
  padding-bottom: 106px;
  flex-direction: column;
  overflow: hidden;
}

.decorative-icon {
  aspect-ratio: 1;
  object-fit: contain;
  object-position: center;
  width: 16px;
}

.content-container {
  border-radius: 15px;
  background-color: rgb(254, 104, 78);
  align-self: center;
  display: flex;
  margin-top: 97px;
  width: 100%;
  max-width: 1220px;
  padding: 71px 63px 18px;
  flex-direction: column;
  align-items: stretch;
  box-sizing: border-box;
}

/* Explicit white color with !important to ensure override */
.content-container h1,
.content-container h2,
.content-container h3,
.content-container h4,
.content-container h5,
.content-container h6,
.content-container p,
.content-container span,
.content-container a,
.content-container strong,
.content-container em {
  color: #ffffff !important;
}


.title {
  font-size: 48px;
  font-family: "Degular Display", -apple-system, Roboto, Helvetica, sans-serif;
  font-weight: 700;
  line-height: 1;
  align-self: flex-start;
  margin-left: 21px;
}

.description {
  font-size: 20px;
  font-family: "DM Sans", -apple-system, Roboto, Helvetica, sans-serif;
  font-weight: 400;
  line-height: 25px;
  align-self: flex-end;
  margin-top: 20px;
}

.image-wrapper {
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 740px;
  margin-top: 29px;
  width: 100%;
  padding: 0 62px 253px;
}

.background-map {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
}

.overlay-graphic {
  aspect-ratio: 1.2;
  object-fit: contain;
  object-position: center;
  width: 100%;
  border-radius: 0;
  z-index: 10;
  margin-top: -358px;
  margin-bottom: -51px;
}

/* Responsive styles for tablets */
@media (max-width: 991px) {
  .employer-record-section {
    padding-right: 20px;
    padding-bottom: 100px;
  }

  .content-container {
    max-width: 100%;
    padding: 71px 20px 18px;
    margin-top: 40px;
  }

  .title {
    max-width: 100%;
    font-size: 40px;
    margin-left: 0;
  }

  .description {
    max-width: 100%;
    font-size: 18px;
    line-height: 24px;
    align-self: flex-start;
  }

  .image-wrapper {
    margin-right: 8px;
    padding-left: 20px;
    padding-bottom: 100px;
    min-height: 500px;
  }

  .overlay-graphic {
    max-width: 100%;
    height: auto;
    margin-top: -200px;
    margin-bottom: 10px;
  }
}

/* Responsive styles for small screens */
@media (max-width: 600px) {
  .employer-record-section {
    padding: 0 16px 60px 16px; /* Reset right padding! */
    display: flex;
    justify-content: center;
  }

  .content-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 40px 16px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
  }

  .title,
  .description {
    text-align: center;
    align-self: center;
  }

  .image-wrapper {
    display: none;
  }
}




  .overlay-graphic {
    max-height: 200px;
    margin-top: -100px;
  }
}

