/* Page-scoped corrections based on the current talentohc.com page. */
body #thc-i-b826c35e6e4 .family-brands-hero > section {
  padding-top: 82px !important;
}

body #thc-i-b826c35e6e4 .thc-c-00fe9cdd926 {
  display: block !important;
}

body #thc-i-b826c35e6e4 .thc-c-e320fe4b1bc {
  display: flex;
  width: 90% !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 0 60px !important;
  gap: 3.5%;
  align-items: stretch;
}

body #thc-i-b826c35e6e4 .thc-c-e320fe4b1bc > .thc-c-dc1cfe976a1 {
  width: 22.375% !important;
  margin: 0 !important;
}

body #thc-i-b826c35e6e4 .thc-c-e320fe4b1bc .thc-c-2988c1bdfac,
body #thc-i-b826c35e6e4 .thc-c-e320fe4b1bc .thc-c-2323ba26e36 {
  width: 100%;
  height: 300px;
}

body #thc-i-b826c35e6e4 .thc-c-e320fe4b1bc .thc-c-2323ba26e36 {
  position: relative;
  perspective: 1000px;
  transform-style: preserve-3d;
}

body #thc-i-b826c35e6e4 .thc-c-e320fe4b1bc .thc-c-9287f246d4d {
  position: absolute;
  inset: 0;
  display: flex;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  backface-visibility: hidden;
  transition: transform 600ms ease;
}

body #thc-i-b826c35e6e4 .thc-c-e320fe4b1bc .thc-c-80f619c7a8c {
  transform: rotateY(0deg);
}

body #thc-i-b826c35e6e4 .thc-c-e320fe4b1bc .thc-c-d7560a5965e {
  transform: rotateY(180deg);
  background: #9e9e9e !important;
}

body #thc-i-b826c35e6e4 .thc-c-e320fe4b1bc .thc-c-2323ba26e36:hover .thc-c-80f619c7a8c,
body #thc-i-b826c35e6e4 .thc-c-e320fe4b1bc .thc-c-2323ba26e36:focus-within .thc-c-80f619c7a8c {
  transform: rotateY(-180deg);
}

body #thc-i-b826c35e6e4 .thc-c-e320fe4b1bc .thc-c-2323ba26e36:hover .thc-c-d7560a5965e,
body #thc-i-b826c35e6e4 .thc-c-e320fe4b1bc .thc-c-2323ba26e36:focus-within .thc-c-d7560a5965e {
  transform: rotateY(0deg);
}

body #thc-i-b826c35e6e4 .thc-c-e320fe4b1bc a.thc-c-a966e779bf2 {
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #fff !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

body #thc-i-b826c35e6e4 .thc-c-e320fe4b1bc a.thc-c-a966e779bf2:hover,
body #thc-i-b826c35e6e4 .thc-c-e320fe4b1bc a.thc-c-a966e779bf2:focus-visible {
  color: #fff !important;
  background: transparent !important;
  opacity: .78;
}

/* Keep the longer PeterSan CTA contained and balanced on the compact card. */
body #thc-i-b826c35e6e4 .thc-family-brand-card__back--petersan .thc-c-28e4bd37ad1 {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 14px;
  overflow: hidden;
  text-align: center;
}

/* Keep the TalentoVentures back face and its long CTA centered inside the card. */
body #thc-i-b826c35e6e4 .thc-family-brand-card__back--ventures .thc-c-28e4bd37ad1 {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 14px;
  overflow: hidden;
  text-align: center;
}

body #thc-i-b826c35e6e4 .thc-family-brand-card__back--ventures .thc-c-53db7c0b8e8,
body #thc-i-b826c35e6e4 .thc-family-brand-card__back--ventures .thc-c-6fe1a5a0f3e,
body #thc-i-b826c35e6e4 .thc-family-brand-card__back--ventures .thc-c-377a9c21250 {
  margin: 0 !important;
}

body #thc-i-b826c35e6e4 .thc-family-brand-card__back--ventures .thc-c-53db7c0b8e8 {
  font-size: clamp(19px, 1.6vw, 22px) !important;
  line-height: 1.2 !important;
}

body #thc-i-b826c35e6e4 .thc-family-brand-card__back--ventures .thc-c-6fe1a5a0f3e {
  max-width: 220px;
  font-size: 14px !important;
  line-height: 1.4 !important;
}

body #thc-i-b826c35e6e4 .thc-family-brand-card__back--ventures .thc-c-377a9c21250 {
  width: 100%;
  display: flex;
  justify-content: center;
}

body #thc-i-b826c35e6e4 .thc-family-brand-card__back--petersan .thc-c-53db7c0b8e8,
body #thc-i-b826c35e6e4 .thc-family-brand-card__back--petersan .thc-c-6fe1a5a0f3e,
body #thc-i-b826c35e6e4 .thc-family-brand-card__back--petersan .thc-c-377a9c21250 {
  margin: 0 !important;
}

body #thc-i-b826c35e6e4 .thc-family-brand-card__back--petersan .thc-c-53db7c0b8e8 {
  font-size: clamp(19px, 1.6vw, 22px) !important;
  line-height: 1.2 !important;
}

body #thc-i-b826c35e6e4 .thc-family-brand-card__back--petersan .thc-c-6fe1a5a0f3e {
  font-size: 14px !important;
  line-height: 1.4 !important;
}

body #thc-i-b826c35e6e4 .thc-family-brand-card__back--petersan .thc-c-377a9c21250 {
  width: 100%;
  display: flex;
  justify-content: center;
}

body #thc-i-b826c35e6e4 .thc-family-brand-card__back--petersan a.thc-c-a966e779bf2 {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  max-width: calc(100% - 8px) !important;
  padding: 5px 8px !important;
  box-sizing: border-box;
  font-size: 10px !important;
  line-height: 1.25 !important;
  white-space: normal !important;
  overflow-wrap: anywhere;
  text-align: center;
}

/* The imported accordion icon used a legacy icon-font glyph ("K"). The
   visible circular + control is already supplied by the accordion styling. */
body #thc-i-b826c35e6e4 .thc-c-4dbbbe5d063 .thc-c-cd7ae34857d::after {
  content: none !important;
  display: none !important;
}

@media (max-width: 980px) {
  body #thc-i-b826c35e6e4 .thc-c-e320fe4b1bc {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  body #thc-i-b826c35e6e4 .thc-c-e320fe4b1bc > .thc-c-dc1cfe976a1 {
    width: 100% !important;
  }
}

@media (max-width: 620px) {
  body #thc-i-b826c35e6e4 .family-brands-hero > section {
    padding-top: 72px !important;
  }

  body #thc-i-b826c35e6e4 .thc-c-e320fe4b1bc {
    grid-template-columns: 1fr;
    width: min(88%, 360px) !important;
  }

  body #thc-i-b826c35e6e4 .thc-c-e320fe4b1bc .thc-c-2988c1bdfac,
  body #thc-i-b826c35e6e4 .thc-c-e320fe4b1bc .thc-c-2323ba26e36 {
    height: 300px;
  }
}

/* Final PeterSan CTA sizing: keep the long label inside the compact flip card. */
body #thc-i-b826c35e6e4 .thc-family-brand-card__back--petersan .thc-c-377a9c21250 > a.thc-c-a966e779bf2 {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: fit-content !important;
  max-width: 184px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 6px 10px !important;
  font-size: 10px !important;
  line-height: 1.2 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  text-align: center !important;
}

body #thc-i-b826c35e6e4 .thc-family-brand-card__back--ventures .thc-c-377a9c21250 > a.thc-c-a966e779bf2 {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: fit-content !important;
  max-width: 172px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 6px 10px !important;
  font-size: 10px !important;
  line-height: 1.2 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  text-align: center !important;
}
