/* SelTech site components, layered on top of the cretech template */

/* cards: values, highlights, process steps, mission/vision */
.st-card {
  height: 100%;
  padding: 32px 30px;
  background-color: var(--cretech-gray, #f9f6ff);
  border-top: 4px solid var(--cretech-primary, #0d6efd);
}

.st-card--accent {
  border-top-color: var(--cretech-secondary, #de9b2e);
}

.st-card--dark {
  background-image: linear-gradient(55deg, var(--cretech-secondary, #de9b2e) 0%, var(--cretech-primary, #0d6efd) 100%);
  border-top: 0;
}

.st-card__label {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 14px;
  font-weight: 700;
  color: var(--cretech-secondary, #de9b2e);
}

.st-card__num {
  display: block;
  margin-bottom: 10px;
  font-size: 40px;
  line-height: 1;
  font-weight: 700;
  color: var(--cretech-primary, #0d6efd);
}

.st-card__title {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 700;
  color: var(--cretech-black, #12062c);
}

.st-card__text {
  margin: 0;
}

.st-card--dark .st-card__label,
.st-card--dark .st-card__title,
.st-card--dark .st-card__text {
  color: #fff;
}

/* timeline */
.st-timeline {
  margin: 0;
  padding: 0;
  list-style: none;
}

.st-timeline__item {
  display: flex;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--cretech-border, #e1dbec);
}

.st-timeline__year {
  flex: 0 0 90px;
  font-size: 24px;
  font-weight: 700;
  color: var(--cretech-primary, #0d6efd);
}

.st-timeline__title {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 700;
  color: var(--cretech-black, #12062c);
}

.st-timeline__text {
  margin: 0;
}

@media (max-width: 575px) {
  .st-timeline__item {
    flex-direction: column;
    gap: 4px;
  }

  .st-timeline__year {
    flex-basis: auto;
  }
}

/* pills: countries, sectors */
.st-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.st-chips li {
  padding: 8px 18px;
  font-weight: 500;
  color: var(--cretech-black, #12062c);
  background-color: #fff;
  border: 1px solid var(--cretech-border, #e1dbec);
}

/* product cards */
.st-product {
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: #fff;
  box-shadow: 0 10px 40px rgba(var(--cretech-black-rgb, 18, 6, 44), 0.08);
}

.st-product__image {
  aspect-ratio: 20 / 11;
  background-color: var(--cretech-gray, #f9f6ff);
}

.st-product__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.st-product__image--contain img {
  object-fit: contain;
  padding: 30px;
}

.st-product__body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 28px 30px 30px;
}

.st-product__title {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 700;
  color: var(--cretech-black, #12062c);
}

.st-product__text {
  flex-grow: 1;
  margin: 0 0 20px;
}

.st-product__link {
  font-weight: 700;
  color: var(--cretech-primary, #0d6efd);
}

.st-product__link:hover {
  color: var(--cretech-secondary, #de9b2e);
}

/* checklists */
.st-checklist {
  margin: 0;
}

.st-checklist li {
  position: relative;
  padding: 6px 0 6px 30px;
  color: var(--cretech-black, #12062c);
  font-weight: 500;
}

.st-checklist li i {
  position: absolute;
  left: 0;
  top: 11px;
  color: var(--cretech-primary, #0d6efd);
}

/* outlined secondary button next to a filled thm-btn */
.thm-btn.st-btn-outline {
  box-shadow: inset 0 0 0 2px var(--cretech-primary, #0d6efd);
}

/* homepage intro: the template's second overlay image (the logo) collides with the text; the header already shows it */
.about-five__images img:nth-of-type(2) {
  display: none;
}

/* contact form result message */
.contact-one__form .result {
  margin-top: 20px;
}

.contact-one__form .result p {
  margin: 0;
  padding: 14px 18px;
  font-weight: 500;
  border-radius: 6px;
}

.contact-one__form .result .success {
  color: #146c43;
  background-color: #d1e7dd;
}

.contact-one__form .result .error {
  color: #b02a37;
  background-color: #f8d7da;
}
