#service-content {
  display: flex;
  max-width: 87.5rem;
  margin: 0 auto;
  position: relative;
}

#service-content .content_editor {
  width: 60.625rem;
  margin-top: 2.5rem;
}

#service-content .content_image_sticky {
  width: 23.125rem;
  position: sticky;
  top: 0;
  margin-top: 1.5rem;
  height: fit-content;
  margin-left: 3.75rem;
}

#main-header:not(.header-hidden) ~ .main #service-content .content_image_sticky {
  top: 8rem;
}

#service-content .content_image_sticky img {
  width: 23.125rem;
  height: 27.6875rem;
  border-radius: 1rem;
}

#service-content .content_image_sticky {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

#service-content .content_image_sticky > img {
  margin: 0;
}

#service-content .service_support_form_title {
  color: var(--Text-Title-Blue, #0897d8);
  font-family: "Google Sans";
  font-size: 1.25rem;
  font-style: normal;
  font-weight: 700;
  line-height: 130%; /* 1.625rem */
  letter-spacing: -0.025rem;
  text-transform: uppercase;
  margin-bottom: 1.125rem;
}

#service-content .service_support_form_inner {
  display: flex;
  flex-direction: column;
  padding-bottom: 0.3rem;
}

#service-content .service_support_form_grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  row-gap: 1rem;
  column-gap: 0.875rem;
}

#service-content .service_support_field {
  display: block;
  position: relative;
}

#service-content .service_support_field_label {
  position: absolute;
  top: 0.875rem;
  left: 0.625rem;
  right: 0.625rem;
  z-index: 1;
  color: var(--Text-Body-DarkBlue-40, rgba(8, 53, 74, 0.4));

  /* PC/14/14-R */
  font-family: "Google Sans";
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 400;
  line-height: 150%; /* 1.3125rem */
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease;
}

#service-content .service_support_field--full .service_support_field_label {
  top: 1.875rem;
}

#service-content .service_support_field_label span {
  color: #ef4444;
}

#service-content .service_support_field.is-invalid .service_support_field_label,
#service-content
  .service_support_field.is-invalid
  .service_support_field_label
  span {
  color: #dc2626;
}

#service-content .service_support_field input {
  height: 3.0625rem;
  border-radius: 0.5rem;
  background: #f1f9fc;
  padding: 0 0.625rem;
}

#service-content .service_support_field textarea {
  height: 5.8125rem;
  padding: 0.875rem 0.625rem;
  border-radius: 0.5rem;
  background: #f1f9fc;
  margin-top: 1rem;
}

#service-content .service_support_field input,
#service-content .service_support_field textarea {
  width: 100%;
  border: 0;
  outline: 0;
  border-radius: 0.5rem;
  background: #eef8fc;
  color: var(--Text-Body-DarkBlue-40, rgba(8, 53, 74, 1));

  /* PC/14/14-R */
  font-family: "Google Sans";
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 400;
  line-height: 150%; /* 1.3125rem */
  pointer-events: auto;
}

#service-content .service_support_field.is-invalid input,
#service-content .service_support_field.is-invalid textarea {
  border: 0.0625rem solid #dc2626;
  background: #fff1f2;
}

#service-content .service_support_field textarea {
  min-height:  5.8125rem;
  resize: vertical;
}

#service-content .service_support_field_error {
  margin-top: 0.375rem;
  color: #dc2626;
  font-family: "Google Sans";
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
}

#service-content
  .service_support_field:has(input:focus)
  .service_support_field_label,
#service-content
  .service_support_field:has(input:not(:placeholder-shown))
  .service_support_field_label,
#service-content
  .service_support_field:has(textarea:focus)
  .service_support_field_label,
#service-content
  .service_support_field:has(textarea:not(:placeholder-shown))
  .service_support_field_label {
  opacity: 0;
  visibility: hidden;
}

#service-content .service_support_submit {
  display: flex;
  height: 3rem;
  padding: 0.875rem 1.75rem;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  border-radius: 6.25rem;
  border: 1.6px solid #f5f5f5;
  background: var(--Brand-Blue, #1991c7);
  box-shadow:
    0 0 0 2px #a3e2ff,
    0 0 4px 0 rgba(0, 0, 0, 0.12),
    0 1px 8px 0 rgba(0, 0, 0, 0.1);
  color: var(--Trng, #fff);
  font-family: "Google Sans";
  font-size: 1rem;
  font-style: normal;
  font-weight: 500;
  line-height: 150%; /* 1.5rem */
  transition: all 0.2s ease;
  width: fit-content;
  margin-top: 1.125rem;
}

#service-content .service_support_submit:hover:not(:disabled) {
  border-radius: 6.25rem;
  border: 1.6px solid #f5f5f5;
  background: #e6b639;
  box-shadow:
    0 0 0 2px #ffdca3,
    0 0 4px 0 rgba(0, 0, 0, 0.12),
    0 1px 8px 0 rgba(0, 0, 0, 0.1);
}

#service-content .service_support_submit svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

#service-content .service_support_submit:disabled {
  cursor: not-allowed;
  opacity: 0.8;
}

#service-content .service_support_submit.is-loading {
  cursor: not-allowed;
}

#service-content .service_support_form_response {
  margin-top: 0.75rem;
  white-space: pre-line;
  font-family: "Google Sans";
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 500;
  line-height: 150%;
}

#service-content .service_support_form_response[hidden] {
  display: none;
}

#service-content .service_support_form_response.is-success {
  color: #16803c;
}

#service-content .service_support_form_response.is-error {
  color: #df2020;
}

@media (max-width: 1023px) {
  #service-content .service_support_form_grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 639px) {
  #service-content .content_editor {
    width: 100%;
    margin-top: 1.25rem;
    padding: 0 1rem;
  }
  #service-content .content_image_sticky {
    display: none;
  }
  #service-content .service_support_form {
    padding: 1rem;
    border-radius: 1rem;
  }

  #service-content .service_support_form_title {
    font-size: 1.25rem;
    letter-spacing: -0.025rem;
    margin-bottom: 1rem;
  }

  #service-content .service_support_form_inner {
    gap: 0.875rem;
  }

  #service-content .service_support_form_grid {
    gap: 0.75rem;
  }

  #service-content .service_support_field input,
  #service-content .service_support_field textarea {
    font-size: 0.875rem;
    padding: 2.5rem 1rem 0.875rem;
    border-radius: 0.875rem;
  }

  #service-content .service_support_field_label {
    top: 1rem;
    left: 1rem;
    right: 1rem;
    font-size: 0.875rem;
  }

  #service-content .service_support_field textarea {
    min-height: 8.5rem;
  }

  #service-content .service_support_submit {
    width: 100%;
    min-width: 0;
    font-size: 1.125rem;
    padding: 0.9375rem 1.25rem;
  }
}

/* CONTENT */
#service-content h2,
#service-content h3,
#service-content h4,
#service-content h5,
#service-content h6 {
  font-weight: 700;
  color: #08354a;
  margin-top: 2.25rem;
}

#service-content h2:first-of-type,
#service-content h3:first-of-type,
#service-content h4:first-of-type,
#service-content h5:first-of-type,
#service-content h6:first-of-type {
  margin-top: 0;
}

#service-content h1 {
  font-size: 1.75rem;
  line-height: 130%; /* 1.95rem */
  letter-spacing: -0.015rem;
}

#service-content h2 {
  font-size: 1.5rem;
  line-height: 130%; /* 1.95rem */
  letter-spacing: -0.015rem;
  margin-bottom: 1rem;
}

#service-content h3 {
  font-size: 1.25rem;
}

#service-content h4 {
  font-size: 1.125rem;
}

#service-content h5 {
  font-size: 1rem;
}

#service-content h6 {
  font-size: 0.875rem;
}

#service-content p {
  color: var(--Text-Body-DarkBlue-80, rgba(8, 53, 74, 0.8));
  text-align: justify;

  /* PC/Body/16-R */
  font-family: "Google Sans";
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 160%; /* 1.6rem */
  margin-bottom: 0.625rem;
}

#service-content strong {
  font-weight: 700;
}

#service-content .content_editor p:has(img) {
  margin: 0;
  line-height: 0;
  display: flex;
  justify-content: space-between;
  gap: 0;
  flex-wrap: wrap;
}

#service-content img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 1rem;
  margin-top: 1.25rem;
}

#service-content .content_editor p:has(img:nth-of-type(2)):not(:has(img:nth-of-type(3))) {
  gap: 1.5rem;
}

#service-content .content_editor p:has(img:nth-of-type(2)):not(:has(img:nth-of-type(3))) img {
  width: calc((100% - 1.5rem) / 2);
}
#service-content .content_editor p:has(img:nth-of-type(3)) img {
  width: 33%;
}
#service-content table {
  margin-top: 2.5rem;
}

#service-content th,
#service-content td {
  font-weight: 400;
  border: 1px solid #2e2e2e;
  text-align: center;
  font-family: Montserrat;
  font-size: 1rem;
  color: #2e2e2e;
  padding: 0.5rem;
}

#service-content th {
  font-weight: 700;
}

#service-content ul {
  color: var(--Text-Body-DarkBlue-80, rgba(8, 53, 74, 0.8));
  text-align: justify;

  /* PC/Body/16-R */
  font-family: "Google Sans";
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 160%; /* 1.6rem */
  list-style: disc outside;
  margin-left: 0;
  padding-left: 1.25rem;
}

#service-content .content_editor li {
  display: list-item !important;
  padding-left: 0.25rem;
}

#service-content a {
  color: #338fe5;
  text-align: justify;

  /* PC/Body/16-R */
  font-family: "Google Sans";
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 160%; /* 1.6rem */
  text-decoration: none;
}

@media (min-width: 1024px) {
  #service-content a:hover {
    text-decoration-color: #338fe5;
  }
}

@media (max-width: 639px) {
  #service-content h1,
  #service-content h2,
  #service-content h3,
  #service-content h4,
  #service-content h5,
  #service-content h6 {
    color: var(--Text-Body-DarkBlue-100, #08354a);
    font-family: "Google Sans";
    font-style: normal;
    font-weight: 700;
    line-height: 150%; /* 1.5rem */
    letter-spacing: -0.01rem;
    margin-top: 0rem;
  }

  #service-content h1 {
    font-size: 1rem;
    line-height: normal;
  }

  #service-content h2 {
    font-size: 1rem;
  }

  #service-content h3 {
    font-size: 0.875rem;
  }

  #service-content h4 {
    font-size: 0.875rem;
  }

  #service-content h5 {
    font-size: 0.75rem;
  }

  #service-content h6 {
    font-size: 0.625rem;
  }

  #service-content p {
    color: var(--Text-Body-DarkBlue-70, rgba(8, 53, 74, 0.7));
    text-align: justify;

    /* PC/14/14-R */
    font-family: "Google Sans";
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 1.3125rem */
    margin-top: 0.5rem;
  }

  #service-content img {
    width: 100%;
    height: 13.75rem;
    margin: 1.75rem 0;
  }

  #service-content .content_editor p:has(img) {
    gap: 0;
  }

  #service-content .content_editor p:has(img:nth-of-type(2)):not(:has(img:nth-of-type(3))) {
    gap: 0.75rem;
  }

  #service-content .content_editor p:has(img) img,
  #service-content .content_editor p:has(img:nth-of-type(2)):not(:has(img:nth-of-type(3))) img {
    width: 100%;
  }

  #service-content .content_editor p:has(img:nth-of-type(2)):not(:has(img:nth-of-type(3))) img {
    margin: 0;
  }

  #service-content .wp-caption,
  #service-content div:has(img) {
    border-radius: 0.75rem;
    margin-top: 1.25rem;
  }

  #service-content .table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    scrollbar-width: none;
  }

  #service-content table {
    width: 100%;
    margin-top: 1.125rem;
  }

  #service-content th,
  #service-content td {
    white-space: nowrap; /* giữ cột không bị xuống dòng */
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
  }

  #service-content ul {
    color: var(--Text-Body-DarkBlue-80, rgba(8, 53, 74, 0.8));
    text-align: justify;

    /* MB/Body/14/14-R */
    font-family: "Google Sans";
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 400;
    line-height: 160%; /* 1.4rem */
    letter-spacing: -0.00875rem;
    margin-left: 0;
    margin-top: 0.5rem;
    padding-left: 1.125rem;
  }

  #service-content a {
    color: var(--Text-Body-DarkBlue-80, rgba(8, 53, 74, 0.8));
    text-align: justify;

    /* MB/Body/14/14-R */
    font-family: "Google Sans";
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 400;
    line-height: 160%; /* 1.4rem */
    letter-spacing: -0.00875rem;
    color: #338fe5;
  }
}
