:root {
  --page-width: 80rem;
  --page-padding: 1rem;
}

body {
  font-family: "Outfit", sans-serif;
}

button,
input[type="button"],
input[type="submit"],
input[type="reset"] {
  cursor: pointer;
}

.container-x {
  width: 100%;
  max-width: calc(var(--page-width) + (2 * var(--page-padding)));
  padding-inline: var(--page-padding);
  margin-inline: auto;
}

#eligibility-form input[type="date"] {
  -webkit-appearance: none;
  appearance: none;
  line-height: normal;
}

#eligibility-form input[type="date"]::-webkit-date-and-time-value {
  min-height: 1em;
  text-align: left;
}

#eligibility-form input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0.65;
}

.service-lottie svg {
  width: 48px !important;
  height: 48px !important;
}

.video-nav-btn.swiper-button-disabled {
  opacity: 0.35;
  pointer-events: none;
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}

#online-consultation-form .iti {
  display: block;
  width: 100%;
  margin-top: 0.5rem;
}

#online-consultation-form .iti input {
  width: 100%;
}

#service-consultation-form .iti {
  display: block;
  width: 100%;
  margin-top: 0.5rem;
}

#service-consultation-form .iti input {
  width: 100%;
}

#eligibility-form .iti {
  display: block;
  width: 100%;
}

#eligibility-form .iti input {
  width: 100%;
}

.service-rich-content {
  color: #4e5664;
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 300;
}

.service-rich-content > * + * {
  margin-top: 0.75rem;
}

.service-rich-content h2,
.service-rich-content h3,
.service-rich-content h4,
.service-rich-content h5,
.service-rich-content h6 {
  color: #1f2339;
  font-weight: 500;
  line-height: 1.35;
  margin-top: 1.25rem;
}

.service-rich-content h2 {
  font-size: 2rem;
}

.service-rich-content h3 {
  font-size: 1.5rem;
}

.service-rich-content h4 {
  font-size: 1.25rem;
}

.service-rich-content p {
  margin: 0;
}

.service-rich-content figcaption {
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  color: #7c8084;
}

.service-rich-content strong,
.service-rich-content b {
  font-weight: 500;
  color: #1f2339;
}

.service-rich-content a {
  color: #ce132d;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.service-rich-content ul,
.service-rich-content ol {
  margin: 0.75rem 0;
  padding-left: 1.25rem;
}

.service-rich-content ul {
  list-style-type: disc;
}

.service-rich-content ol {
  list-style-type: decimal;
}

.service-rich-content li::marker {
  color: #4e5664;
}

.service-rich-content li + li {
  margin-top: 0.35rem;
}

.service-rich-content blockquote {
  border-left: 2px solid #e3e7ef;
  padding-left: 0.875rem;
  color: #7c8084;
}

.service-rich-content img {
  width: 100%;
  border-radius: 0.75rem;
}

.service-rich-content code {
  display: inline;
  border: 1px solid #e3e7ef;
  background: #f9fafb;
  border-radius: 0.375rem;
  padding: 0.0625rem 0.375rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.9em;
  color: #1f2339;
}

.service-rich-content pre {
  border: 1px solid #e3e7ef;
  background: #f9fafb;
  border-radius: 0.75rem;
  padding: 0.875rem 1rem;
  overflow: auto;
}

.service-rich-content pre code {
  border: 0;
  background: transparent;
  padding: 0;
}

.service-rich-content hr {
  border: 0;
  border-top: 1px solid #e3e7ef;
  margin: 1rem 0;
}

.service-rich-content table {
  width: 100%;
  border-collapse: collapse;
}

.service-rich-content th,
.service-rich-content td {
  border: 1px solid #e3e7ef;
  padding: 0.625rem 0.75rem;
  text-align: left;
}

.ct-milestone-card {
  flex: 0 0 100%;
  width: 100%;
  opacity: 0.68;
  transform: scale(0.98);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}

.ct-milestone-card.is-active {
  opacity: 1;
  transform: scale(1);
}

@media (max-width: 1023px) {
  .service-rich-content {
    font-size: 0.9375rem;
    line-height: 1.6;
  }

  .ct-milestone-card {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 639px) {
  .service-rich-content {
    font-size: 0.875rem;
    line-height: 1.55;
  }

  .service-rich-content h2 {
    font-size: 1.5rem;
  }

  .service-rich-content h3 {
    font-size: 1.25rem;
  }

  .service-rich-content h4 {
    font-size: 1.125rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ct-milestone-card {
    transition: none;
  }
}

@media (min-width: 640px) {
  :root {
    --page-padding: 1.25rem;
  }
}

@media (min-width: 1280px) {
  :root {
    --page-padding: 1.5rem;
  }
}
