/* Talexes Partners design system — values match the approved Talexes palette. */
@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dm-sans-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Epilogue";
  src: url("../fonts/epilogue-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --tp-ink: #1e1e1e;
  --tp-navy: #2d4279;
  --tp-orange: #fdac3b;
  --tp-teal: #a2dede;
  --tp-cta-teal: #90dad3;
  --tp-red: #ff5b23;
  --tp-green: #4caa49;
  --tp-offwhite: #f8f7f6;
  --tp-pale: #e9eaee;
  --tp-mid: #6b7078;
  --tp-light: #e6e7eb;
  --tp-white: #ffffff;
  --tp-footer-bg: #0d0e10;
  --tp-footer-text: #e9eaee;
  --tp-footer-muted: #cfd3db;
  --tp-footer-rule: #24262a;
  --tp-footer-accent: #ff6a2a;
  --tp-accent: var(--tp-orange);
  --tp-shadow: 0 18px 50px rgb(30 30 30 / 8%);
  --tp-radius: 18px;
  --tp-container: 1400px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--tp-ink);
  background: var(--tp-white);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.75em;
  font-family: "Epilogue", Arial, sans-serif;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(20px, 6vw, 55px);
}

h2 {
  font-size: clamp(18px, 4vw, 40px);
}

h3 {
  font-size: clamp(16px, 2.5vw, 24px);
}

p {
  margin: 0 0 1.25em;
}

.tp-container {
  width: min(calc(100% - 48px), var(--tp-container));
  margin-inline: auto;
}

.tp-container--narrow {
  max-width: 820px;
}

/* Set the opportunity cards section to a 1400px maximum width. */
.tp-acf-image-cards {
  --tp-container: 1400px;
}

.tp-skip-link {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--tp-white);
  background: var(--tp-ink);
  transform: translateY(-150%);
}

.tp-skip-link:focus {
  transform: translateY(0);
}

.tp-accent--orange { --tp-accent: var(--tp-orange); }
.tp-accent--teal { --tp-accent: var(--tp-teal); }
.tp-accent--red { --tp-accent: var(--tp-red); }
.tp-accent--green { --tp-accent: var(--tp-green); }

/* Header and navigation */
.tp-site-header {
  position: absolute;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  color: var(--tp-white);
  background: transparent;
  transition: background 180ms ease, box-shadow 180ms ease, backdrop-filter 180ms ease;
}

/* .tp-site-header.is-scrolled,
body.menu-open .tp-site-header {
  position: fixed;
  background: rgb(13 14 16 / 94%);
  box-shadow: 0 8px 28px rgb(0 0 0 / 18%);
  backdrop-filter: blur(12px);
} */

.admin-bar .tp-site-header {
  top: 32px;
}

body.error404 .tp-site-header {
  position: relative;
  background: var(--tp-footer-bg);
}

.tp-header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 86px;
  gap: 32px;
}

.tp-logo,
.custom-logo-link {
  display: inline-flex;
  align-items: center;
}

.tp-logo img,
.custom-logo {
  width: 205px;
  max-height: 44px;
  object-fit: contain;
}

.tp-primary-navigation {
  justify-self: center;
}

.tp-menu {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  gap: 2px;
  list-style: none;
}

.tp-menu > .menu-item {
  position: relative;
}

.tp-menu a {
  display: block;
  padding: 30px 11px;
  font-size: 0.84rem;
  font-weight: 650;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.tp-menu > .menu-item > a::after {
  position: absolute;
  right: 11px;
  bottom: 22px;
  left: 11px;
  height: 2px;
  content: "";
  background: var(--tp-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.tp-menu > .menu-item:hover > a::after,
.tp-menu > .current-menu-item > a::after,
.tp-menu > .current-menu-ancestor > a::after {
  transform: scaleX(1);
}

.tp-menu .sub-menu {
  position: absolute;
  top: calc(100% - 7px);
  left: 0;
  width: 250px;
  margin: 0;
  padding: 10px;
  color: var(--tp-ink);
  background: var(--tp-white);
  border-radius: 12px;
  box-shadow: var(--tp-shadow);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 180ms ease;
}

.tp-menu .menu-item:hover > .sub-menu,
.tp-menu .menu-item:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.tp-menu .sub-menu a {
  padding: 11px 13px;
  border-radius: 8px;
  line-height: 1.25;
  white-space: normal;
}

.tp-menu .sub-menu a:hover,
.tp-menu .sub-menu a:focus-visible {
  background: var(--tp-offwhite);
}

.tp-header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.tp-login-link {
  font-size: 0.82rem;
  font-weight: 650;
  text-decoration: none;
}

.tp-menu-toggle {
  display: none;
}

/* Buttons, labels, and recurring components */
.tp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 10px 24px 10px 10px;
  gap: 12px;
  color: var(--tp-ink);
  background: var(--tp-cta-teal);
  border: 0;
  border-radius: 7px;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 750;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.wp-block-button__link,
.wp-element-button {
  display: inline-flex;
  min-height: 52px;
  padding: 10px 24px 10px 10px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--tp-ink);
  background: var(--tp-cta-teal);
  border-radius: 7px;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 750;
  line-height: 1.1;
  text-decoration: none;
}

.tp-button::before,
.wp-block-button__link::before,
.wp-element-button::before {
  display: grid;
  width: 32px;
  height: 32px;
  content: "→";
  color: var(--tp-navy);
  background: var(--tp-white);
  border-radius: 6px;
  flex: 0 0 32px;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1;
  place-items: center;
  transition: transform 160ms ease;
}

.tp-button:hover,
.tp-button:focus-visible,
.wp-block-button__link:hover,
.wp-block-button__link:focus-visible,
.wp-element-button:hover,
.wp-element-button:focus-visible {
  color: var(--tp-ink);
  background: var(--tp-teal);
  box-shadow: 0 10px 30px rgb(0 0 0 / 18%);
  transform: translateY(-2px);
}

.tp-button:hover::before,
.tp-button:focus-visible::before,
.wp-block-button__link:hover::before,
.wp-block-button__link:focus-visible::before,
.wp-element-button:hover::before,
.wp-element-button:focus-visible::before {
  transform: translateX(3px);
}

.tp-button--small {
  min-height: 42px;
  padding: 6px 15px 6px 6px;
  gap: 9px;
  font-size: 0.78rem;
}

.tp-button--small::before {
  width: 30px;
  height: 30px;
  flex-basis: 30px;
}

.tp-button--dark {
  color: var(--tp-ink);
  background: var(--tp-cta-teal);
}

.tp-eyebrow {
  display: inline-flex;
  margin-bottom: 20px;
  padding: 7px 12px;
  color: var(--tp-ink);
  background: var(--tp-accent);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tp-eyebrow--red {
  --tp-accent: var(--tp-red);
  color: var(--tp-white);
}

.tp-section {
  padding: 96px 0;
}

.tp-section--offwhite {
  background: var(--tp-offwhite);
}

.tp-section-heading {
  max-width: 530px;
}

.tp-section-heading--wide {
  max-width: 770px;
  margin-bottom: 42px;
}

.tp-section-heading > p:not(.tp-eyebrow) {
  color: var(--tp-mid);
  font-size: 1.08rem;
}

.tp-split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: 72px;
}

.tp-split--home {
  align-items: center;
}

/* Hero */
.tp-hero {
  position: relative;
  min-height: min(720px, 100vh);
  display: flex;
  align-items: center;
  color: var(--tp-white);
  background-image:
    linear-gradient(90deg, rgb(0 0 0 / 74%) 0%, rgb(0 0 0 / 44%) 52%, rgb(0 0 0 / 18%) 100%),
    var(--tp-hero-image);
  background-position: center;
  background-size: cover;
}

.tp-hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 7px;
  content: "";
  background: var(--tp-accent);
}

.tp-hero__inner {
  position: relative;
  z-index: 1;
  padding: 176px 0 96px;
}

.tp-hero h1 {
  max-width: 560px;
  margin-bottom: 24px;
}

.tp-hero__intro {
  max-width: 660px;
  margin-bottom: 34px;
  font-size: clamp(1.08rem, 1.5vw, 1.35rem);
  line-height: 1.55;
}

/* Cards */
.tp-card-grid,
.tp-benefit-cards,
.tp-image-card-grid,
.tp-product-grid,
.tp-testimonial-grid,
.tp-leader-grid,
.tp-post-grid {
  display: grid;
  gap: 24px;
}

.tp-card-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tp-benefit-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tp-card,
.tp-number-card {
  position: relative;
  padding: 30px;
  background: var(--tp-white);
  border-radius: var(--tp-radius);
  box-shadow: var(--tp-shadow);
  overflow: hidden;
}

.tp-card::before,
.tp-number-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  content: "";
  background: var(--tp-accent);
}

.tp-card--dark {
  color: var(--tp-white);
  background: var(--tp-ink);
}

.tp-card--dark p {
  color: var(--tp-pale);
}

.tp-number-card span {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 28px;
  place-items: center;
  background: var(--tp-accent);
  border-radius: 50%;
  font-family: "Epilogue", Arial, sans-serif;
  font-weight: 750;
}

.tp-number-card p {
  color: var(--tp-mid);
}

.tp-image-card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tp-image-card {
  background: var(--tp-white);
  border-radius: var(--tp-radius);
  box-shadow: var(--tp-shadow);
  overflow: hidden;
}

.tp-image-card img {
  width: 100%;
  height: 215px;
  object-fit: cover;
}

.tp-image-card > div {
  position: relative;
  min-height: 225px;
  padding: 28px;
}

.tp-image-card > div::before {
  position: absolute;
  inset: 0 0 auto;
  height: 7px;
  content: "";
  background: var(--tp-accent);
}

.tp-image-card p {
  color: var(--tp-mid);
}

.tp-image-card a,
.tp-product-card a {
  color: var(--tp-red);
  font-weight: 800;
  text-decoration: none;
}

/* Keep all opportunity cards at an equal height. */
.tp-image-card-grid {
  align-items: stretch;
}

/* Make each card use a vertical layout. */
.tp-image-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Allow the card's text area to fill the remaining height. */
.tp-image-card > div {
  display: flex;
  flex: 1;
  flex-direction: column;
}

/* Align every Explore Opportunity link at the bottom. */
.tp-image-card > div > a:last-child {
  margin-top: auto;
}

.tp-product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 34px;
}

.tp-product-card {
  background: var(--tp-white);
  border-radius: var(--tp-radius);
  box-shadow: var(--tp-shadow);
  overflow: hidden;
}

.tp-product-card__number {
  display: block;
  padding: 28px;
  background: var(--tp-accent);
  font-family: "Epilogue", Arial, sans-serif;
  font-size: 2.3rem;
  font-weight: 700;
  line-height: 1;
}

.tp-product-card > div {
  min-height: 260px;
  padding: 28px;
}

.tp-product-card h2 {
  font-size: 1.45rem;
}

.tp-product-card p {
  color: var(--tp-mid);
}

.tp-check-list,
.tp-plain-list {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.tp-check-list li,
.tp-plain-list li {
  position: relative;
  margin: 0 0 12px;
  padding-left: 30px;
}

.tp-check-list li::before,
.tp-plain-list li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 10px;
  height: 10px;
  content: "";
  background: var(--tp-accent);
  border-radius: 50%;
  transform: translateY(-50%);
}

/* Banner, testimonials, and team */
.tp-page-banner,
.tp-article-header {
  padding: 170px 0 92px;
  color: var(--tp-white);
  background: var(--tp-navy);
}

.tp-page-banner--dark,
.tp-article-header {
  background: var(--tp-ink);
}

.tp-page-banner--teal {
  color: var(--tp-ink);
  background: var(--tp-teal);
}

.tp-page-banner h1 {
  max-width: 940px;
}

.tp-page-banner p:last-child {
  margin: 0;
  font-size: 1.15rem;
}

.tp-page-banner__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 64px;
}

.tp-page-banner__inner > div {
  max-width: 900px;
}

.tp-page-banner__inner .tp-button {
  margin-bottom: 4px;
  flex: 0 0 auto;
}

.tp-testimonial-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tp-quote-card {
  position: relative;
  display: flex;
  min-height: 410px;
  margin: 0;
  padding: 48px 34px 30px;
  flex-direction: column;
  justify-content: space-between;
  background: var(--tp-offwhite);
  border-radius: var(--tp-radius);
  overflow: hidden;
}

.tp-quote-card::before {
  position: absolute;
  top: 22px;
  left: 30px;
  content: "“";
  color: var(--tp-accent);
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 1;
}

.tp-quote-card blockquote {
  position: relative;
  z-index: 1;
  margin: 42px 0 34px;
  font-family: "Epilogue", Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 650;
  line-height: 1.5;
}

.tp-quote-card figcaption {
  display: flex;
  padding-top: 22px;
  border-top: 1px solid var(--tp-light);
  flex-direction: column;
}

.tp-quote-card figcaption span {
  color: var(--tp-mid);
}

/* Merged Talexes-style testimonial carousels */
.tp-page-banner--testimonials {
  background: var(--tp-navy);
}

.tp-testimonials-section {
  padding: 82px 0;
  background: var(--tp-offwhite);
}

.tp-testimonials-section--partner {
  padding-top: 18px;
  padding-bottom: 96px;
}

.tp-testimonials-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.28fr) minmax(0, 0.72fr);
  align-items: stretch;
  gap: 58px;
}

.tp-testimonials-intro {
  display: flex;
  min-height: 390px;
  flex-direction: column;
}

.tp-section-label {
  margin-bottom: 16px;
  color: var(--tp-red);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.tp-testimonials-intro h2 {
  margin-bottom: 28px;
  font-size: clamp(1.8rem, 2.8vw, 2.7rem);
}

.tp-testimonials-intro > p:not(.tp-section-label) {
  margin-top: auto;
  color: var(--tp-mid);
}

.tp-testimonial-avatars {
  display: flex;
  margin-top: 20px;
  padding-left: 4px;
}

.tp-testimonial-avatars span {
  display: block;
  width: 54px;
  height: 54px;
  margin-left: -9px;
  padding: 4px;
  background: var(--tp-accent);
  border-radius: 50%;
}

.tp-testimonial-avatars span:first-child {
  margin-left: 0;
}

.tp-testimonial-avatars img {
  width: 100%;
  height: 100%;
  background: var(--tp-white);
  border: 3px solid var(--tp-offwhite);
  border-radius: 50%;
  object-fit: cover;
}

.tp-testimonial-carousel {
  min-width: 0;
}

.tp-testimonial-track {
  display: flex;
  padding: 2px 2px 16px;
  gap: 24px;
  scroll-behavior: smooth;
  scroll-padding-inline: 2px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
}

.tp-testimonial-track::-webkit-scrollbar {
  display: none;
}

.tp-testimonial-track:focus-visible {
  outline: 3px solid var(--tp-teal);
  outline-offset: 5px;
}

.tp-testimonial-card {
  display: flex;
  min-height: 370px;
  margin: 0;
  padding: 30px;
  background: var(--tp-white);
  border-radius: 10px;
  box-shadow: 0 14px 36px rgb(30 30 30 / 5%);
  flex: 0 0 min(390px, 78vw);
  flex-direction: column;
  scroll-snap-align: start;
}

.tp-testimonial-rating {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.86rem;
}

.tp-stars {
  color: var(--tp-orange);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
}

.tp-testimonial-card blockquote {
  position: relative;
  margin: 38px 0 30px;
  padding-left: 30px;
  color: var(--tp-mid);
  font-size: 1.02rem;
  line-height: 1.6;
}

.tp-testimonial-card blockquote::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  content: "";
  background: var(--tp-accent);
  border-radius: 3px;
}

.tp-testimonial-card blockquote p {
  margin: 0;
}

.tp-testimonial-card footer {
  display: flex;
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--tp-light);
  align-items: center;
  gap: 15px;
}

.tp-testimonial-card footer > img {
  width: 58px;
  height: 58px;
  background: var(--tp-offwhite);
  border: 3px solid var(--tp-accent);
  border-radius: 50%;
  flex: 0 0 58px;
  object-fit: cover;
}

.tp-testimonial-card cite {
  display: block;
  font-style: normal;
  font-weight: 800;
}

.tp-testimonial-card footer span {
  display: block;
  margin-top: 3px;
  color: var(--tp-mid);
  font-size: 0.82rem;
  line-height: 1.35;
}

.tp-carousel-controls {
  display: grid;
  margin-top: 14px;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  gap: 12px;
}

.tp-carousel-controls button {
  display: grid;
  width: 40px;
  height: 40px;
  padding: 0;
  color: var(--tp-navy);
  background: var(--tp-white);
  border: 1px solid var(--tp-light);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.05rem;
  place-items: center;
  transition: background 160ms ease, transform 160ms ease;
}

.tp-carousel-controls button:hover,
.tp-carousel-controls button:focus-visible {
  background: var(--tp-teal);
  transform: scale(1.05);
}

.tp-carousel-controls button:disabled {
  cursor: default;
  opacity: 0.38;
  transform: none;
}

.tp-carousel-progress {
  height: 5px;
  background: #d8d8d8;
  border-radius: 999px;
  overflow: hidden;
}

.tp-carousel-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: #929292;
  border-radius: inherit;
  transition: width 160ms ease;
}

.tp-leader-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 30px;
	max-width: 1120px;
	margin-inline: auto;
	align-items: stretch;
}

.tp-leader-card {
  background: var(--tp-white);
  border-radius: var(--tp-radius);
  box-shadow: var(--tp-shadow);
  overflow: hidden;
}

.tp-leader-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.tp-leader-card > div {
  position: relative;
  padding: 24px;
}

.tp-leader-card > div::before {
  position: absolute;
  inset: 0 0 auto;
  height: 7px;
  content: "";
  background: var(--tp-accent);
}

.tp-leader-card h2 {
  margin-bottom: 8px;
  font-size: 1.35rem;
}

.tp-leader-card p {
  margin: 0;
  color: var(--tp-mid);
}

/* FAQ */
.tp-faq-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  align-items: start;
  gap: 52px;
}

.tp-faq-topics {
  position: sticky;
  top: 118px;
  padding: 28px;
  background: var(--tp-offwhite);
  border-radius: var(--tp-radius);
}

.tp-faq-topics ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tp-faq-topics li {
  padding: 12px 0;
  border-bottom: 1px solid var(--tp-light);
}

.tp-faq-item {
  margin-bottom: 12px;
  background: var(--tp-white);
  border: 1px solid var(--tp-light);
  border-radius: 12px;
  overflow: hidden;
}

.tp-faq-item.is-open {
  background: var(--tp-offwhite);
}

.tp-faq-item h2 {
  margin: 0;
}

.tp-faq-item button {
  display: flex;
  width: 100%;
  padding: 24px;
  align-items: center;
  justify-content: space-between;
  color: var(--tp-ink);
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 750;
  text-align: left;
}

.tp-faq-item i {
  position: relative;
  width: 20px;
  height: 20px;
  margin-left: 20px;
  flex: 0 0 20px;
}

.tp-faq-item i::before,
.tp-faq-item i::after {
  position: absolute;
  top: 9px;
  left: 2px;
  width: 16px;
  height: 2px;
  content: "";
  background: var(--tp-red);
}

.tp-faq-item i::after {
  transform: rotate(90deg);
  transition: transform 180ms ease;
}

.tp-faq-item.is-open i::after {
  transform: rotate(0);
}

.tp-faq-answer {
  padding: 0 64px 24px 24px;
  color: var(--tp-mid);
}

/* Contact */
.tp-contact-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(380px, 0.8fr) minmax(600px, 1.2fr);
  min-height: 100vh;
}

.tp-contact-layout::before {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  left: 0;
  height: 86px;
  content: "";
  background: linear-gradient(90deg, rgb(13 14 16 / 32%), rgb(13 14 16 / 78%));
  pointer-events: none;
}

.tp-contact-intro {
  position: relative;
  display: flex;
  padding: clamp(150px, 12vw, 190px) clamp(50px, 7vw, 110px) clamp(50px, 7vw, 110px);
  color: var(--tp-white);
  background-image: linear-gradient(rgb(30 30 30 / 72%), rgb(45 66 121 / 86%)), var(--tp-contact-image);
  background-position: center;
  background-size: cover;
  flex-direction: column;
  justify-content: space-between;
}

.tp-contact-intro address {
  display: flex;
  margin-top: 40px;
  font-style: normal;
  flex-direction: column;
}

.tp-contact-intro address a {
  margin-top: 8px;
  font-weight: 700;
}

.tp-contact-form-panel {
  padding: clamp(150px, 12vw, 190px) clamp(50px, 7vw, 110px) clamp(50px, 7vw, 110px);
  background: var(--tp-offwhite);
}

.tp-contact-form-panel > p {
  color: var(--tp-mid);
}

.tp-form-content form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

/* The existing Contact Form 7 markup uses separate paragraphs for labels and
   controls. A single-column flow keeps that legacy form readable and aligned. */
.tp-form-content .wpcf7-form {
  display: block;
}

.tp-form-content .wpcf7-form > p,
.tp-form-content .wpcf7-form > .wpcf7-form-control-wrap {
  margin: 0 0 20px;
}

.tp-form-content label {
  display: block;
  font-weight: 700;
}

.tp-form-content input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.tp-form-content select,
.tp-form-content textarea {
  width: 100%;
  margin-top: 7px;
  padding: 13px 15px;
  color: var(--tp-ink);
  background: var(--tp-white);
  border: 1px solid var(--tp-light);
  border-radius: 7px;
  font: inherit;
}

.tp-form-content textarea,
.tp-form-content .wpcf7-submit,
.tp-form-content .gform_footer,
.tp-form-content p:last-child {
  grid-column: 1 / -1;
}

.tp-form-content input[type="submit"],
.tp-form-content button[type="submit"] {
  min-height: 52px;
  padding: 14px 24px 14px 54px;
  color: var(--tp-ink);
  background-color: var(--tp-cta-teal);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Crect width='32' height='32' rx='6' fill='white'/%3E%3Cpath d='M10 16h11m-4-5 5 5-5 5' fill='none' stroke='%232D4279' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 10px center;
  background-size: 32px 32px;
  border: 0;
  border-radius: 7px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.tp-form-placeholder {
  max-width: 620px;
  margin-top: 35px;
  padding: 28px;
  background: var(--tp-white);
  border: 2px dashed var(--tp-teal);
  border-radius: var(--tp-radius);
}

/* Saved content, posts, and system pages */
.tp-saved-content {
  padding: 72px 0;
  background: var(--tp-white);
}

.tp-saved-content--main {
  padding-block: 90px;
}

.tp-prose > *:first-child {
  margin-top: 0;
}

.tp-prose h2,
.tp-prose h3 {
  margin-top: 1.4em;
}

.tp-prose a {
  color: var(--tp-navy) !important;
  font-weight: 700;
}

.tp-prose blockquote {
  margin: 2em 0;
  padding: 10px 0 10px 28px;
  border-left: 6px solid var(--tp-orange);
  font-size: 1.25rem;
}

.tp-article-header h1 {
  max-width: 900px;
}

.tp-article-image {
  margin-top: -34px;
}

.tp-article-image img {
  width: 100%;
  max-height: 650px;
  object-fit: cover;
  border-radius: var(--tp-radius);
}

.tp-post-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tp-post-card {
  background: var(--tp-white);
  border-radius: var(--tp-radius);
  box-shadow: var(--tp-shadow);
  overflow: hidden;
}

.tp-post-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.tp-post-card > div {
  padding: 28px;
}

.tp-post-card h2 {
  font-size: 1.45rem;
}

.tp-post-card h2 a {
  text-decoration: none;
}

.tp-post-card__meta {
  color: var(--tp-red);
  font-size: 0.82rem;
  font-weight: 750;
  text-transform: uppercase;
}

.tp-pagination {
  grid-column: 1 / -1;
}

.tp-error-page {
  display: grid;
  min-height: 65vh;
  padding-block: 110px;
  place-items: center;
  text-align: center;
}

/* CTA and footer */
.tp-cta-band {
  padding: 52px 0;
  background: var(--tp-orange);
}

.tp-cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.tp-cta-band h2 {
  margin-bottom: 8px;
  font-size: clamp(1.7rem, 2.7vw, 2.7rem);
}

.tp-cta-band p {
  margin: 0;
}

.tp-site-footer {
  padding: 58px 0;
  color: var(--tp-footer-text);
  background: var(--tp-footer-bg);
}

.tp-footer-grid {
  display: grid;
  grid-template-columns: minmax(250px, 0.95fr) minmax(380px, 1.35fr) minmax(310px, 1fr);
  align-items: stretch;
  gap: 0;
}

.tp-footer-brand,
.tp-footer-links,
.tp-footer-contact {
  min-width: 0;
}

.tp-footer-brand {
  padding-right: 55px;
}

.tp-footer-brand .tp-logo img,
.tp-footer-brand .custom-logo {
  width: 238px;
  max-height: 48px;
}

.tp-footer-tagline {
  display: flex;
  max-width: 310px;
  margin: 18px 0 24px;
  color: var(--tp-footer-text);
  font-family: "Epilogue", Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 2;
  flex-direction: column;
}

.tp-footer-tagline strong {
  color: var(--tp-footer-accent);
  font-weight: 700;
}

.tp-footer-button {
  min-height: 46px;
  padding-block: 7px;
}

.tp-site-footer h2 {
  margin-bottom: 20px;
  color: var(--tp-white);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tp-footer-links,
.tp-footer-contact {
  padding: 8px 55px 0;
  border-left: 1px solid var(--tp-footer-rule);
}

.tp-footer-links > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-wrap: nowrap;
  gap: 10px;
  max-width: 490px;
}

.tp-footer-links a,
.tp-footer-contact a {
  color: var(--tp-footer-text);
  font-size: 0.86rem;
  text-decoration: none;
}

/* Quick Links no longer use horizontal separators. */
.tp-footer-links a:not(:last-child)::after {
  content: none;
}

.tp-footer-links a:hover,
.tp-footer-links a:focus-visible,
.tp-footer-contact a:hover,
.tp-footer-contact a:focus-visible {
  color: var(--tp-white);
}

.tp-footer-contact p {
  display: flex;
  margin: 0 0 27px;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.tp-footer-contact h2:nth-of-type(2) {
  margin-bottom: 12px;
}

.tp-footer-contact address {
  margin: 0;
  color: var(--tp-footer-muted);
  font-size: 0.82rem;
  font-style: normal;
  line-height: 1.55;
}

/* Responsive behavior follows the desktop design without changing its brand logic. */
@media (max-width: 1180px) {
  .tp-header-inner {
    grid-template-columns: auto auto 1fr;
  }

  .tp-menu-toggle {
    display: inline-flex;
    margin-left: auto;
    padding: 10px;
    align-items: center;
    gap: 10px;
    color: var(--tp-white);
    background: transparent;
    border: 1px solid rgb(255 255 255 / 25%);
    border-radius: 7px;
    cursor: pointer;
  }

  .tp-menu-toggle__icon {
    display: grid;
    width: 20px;
    gap: 4px;
  }

  .tp-menu-toggle__icon i {
    height: 2px;
    background: currentColor;
  }

  .tp-primary-navigation {
    position: fixed;
    top: 86px;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 28px 24px 100px;
    background: var(--tp-ink);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px);
    transition: 180ms ease;
  }

  .admin-bar .tp-primary-navigation {
    top: 118px;
  }

  .tp-primary-navigation.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .tp-menu {
    display: block;
    max-width: 640px;
    margin: auto;
  }

  .tp-menu a {
    padding: 15px 0;
    font-size: 1.05rem;
  }

  .tp-menu > .menu-item > a::after {
    display: none;
  }

  .tp-menu .sub-menu {
    position: static;
    width: auto;
    margin: 0 0 6px 18px;
    padding: 0;
    color: var(--tp-pale);
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .tp-menu .sub-menu a {
    padding: 10px 0;
  }

  .tp-header-actions .tp-login-link {
    display: none;
  }

  .tp-image-card-grid,
  .tp-product-grid,
  .tp-leader-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tp-contact-layout {
    grid-template-columns: minmax(340px, 0.8fr) minmax(500px, 1.2fr);
  }
}

@media (max-width: 900px) {
  .tp-section {
    padding-block: 70px;
  }

  .tp-split,
  .tp-faq-layout,
  .tp-contact-layout,
  .tp-testimonials-layout {
    grid-template-columns: 1fr;
  }

  .tp-page-banner__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 30px;
  }

  .tp-testimonials-intro {
    min-height: 0;
  }

  .tp-testimonials-intro > p:not(.tp-section-label) {
    margin-top: 0;
  }

  .tp-testimonials-layout {
    gap: 36px;
  }

  .tp-benefit-cards,
  .tp-testimonial-grid,
  .tp-post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tp-faq-topics {
    position: static;
  }

  .tp-contact-intro {
    min-height: 620px;
    padding: 156px 40px 70px;
  }

  .tp-contact-form-panel {
    padding: 70px 40px;
  }

  .tp-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tp-footer-brand {
    padding-right: 40px;
  }

  .tp-footer-links {
    padding-right: 0;
    padding-left: 40px;
  }

  .tp-footer-contact {
    margin-top: 44px;
    padding: 40px 0 0;
    border-top: 1px solid var(--tp-footer-rule);
    border-left: 0;
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .admin-bar .tp-site-header {
    top: 46px;
  }

  .tp-container {
    width: min(calc(100% - 32px), var(--tp-container));
  }

  .tp-header-inner {
    min-height: 74px;
    gap: 14px;
  }

  .tp-logo img,
  .custom-logo {
    width: 150px;
  }

  .tp-menu-toggle__label,
  .tp-header-actions {
    display: none;
  }

  .tp-primary-navigation {
    top: 74px;
  }

  .admin-bar .tp-primary-navigation {
    top: 120px;
  }

  .tp-hero {
    min-height: 650px;
    background-image: linear-gradient(90deg, rgb(0 0 0 / 76%), rgb(0 0 0 / 35%)), var(--tp-hero-image);
  }

  .tp-hero__inner {
    padding: 142px 0 72px;
  }

  .tp-page-banner,
  .tp-article-header {
    padding: 142px 0 72px;
  }

  .tp-testimonials-section {
    padding-block: 64px;
  }

  .tp-testimonials-section--partner {
    padding-top: 0;
  }

  .tp-testimonial-card {
    min-height: 340px;
    padding: 25px;
    flex-basis: 84vw;
  }

  .tp-benefit-cards,
  .tp-card-grid--two,
  .tp-image-card-grid,
  .tp-product-grid,
  .tp-testimonial-grid,
  .tp-leader-grid,
  .tp-post-grid,
  .tp-form-content form {
    grid-template-columns: 1fr;
  }

  .tp-quote-card {
    min-height: 340px;
  }

  .tp-cta-band__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .tp-footer-grid {
    grid-template-columns: 1fr;
  }

  .tp-footer-brand,
  .tp-footer-links,
  .tp-footer-contact {
    padding: 0;
    border-left: 0;
    grid-column: auto;
  }

  .tp-footer-links,
  .tp-footer-contact {
    margin-top: 36px;
    padding-top: 34px;
    border-top: 1px solid var(--tp-footer-rule);
  }

  .tp-footer-links > div {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 20px;
  }

  .tp-footer-links a:not(:last-child)::after {
    display: none;
  }

  .tp-contact-intro {
    padding: 136px 24px 52px;
  }

  .tp-contact-form-panel {
    padding: 52px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* ACF page builder --------------------------------------------------------- */
.tp-hero--acf {
  background-image: var(--tp-hero-image);
}

.tp-hero--acf::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, #000 0%, rgb(0 0 0 / 72%) 52%, rgb(0 0 0 / 28%) 100%);
  opacity: var(--tp-hero-overlay, 0.55);
}

.tp-page-banner--navy {
  background: var(--tp-navy);
}

/* Solid aqua heroes use the dark logo/navigation variant for contrast. */
body.tp-acf-hero-teal:not(.menu-open) .tp-site-header:not(.is-scrolled) {
  color: var(--tp-ink);
}

body.tp-acf-hero-teal:not(.menu-open) .tp-site-header:not(.is-scrolled) .tp-logo img {
  filter: brightness(0) saturate(100%);
}

body.tp-acf-hero-teal:not(.menu-open) .tp-site-header:not(.is-scrolled) .tp-button {
  background: var(--tp-white);
}

.tp-section--white {
  background: var(--tp-white);
}

.tp-section--offwhite {
  background: var(--tp-offwhite);
}

.tp-section--dark {
  color: var(--tp-white);
  background: var(--tp-ink);
}

.tp-section--dark .tp-card {
  color: var(--tp-ink);
}

.tp-section--navy {
  color: var(--tp-white);
  background: var(--tp-navy);
}

.tp-section--teal {
  color: var(--tp-ink);
  background: var(--tp-teal);
}

.tp-section--dark .tp-section-heading > p:not(.tp-eyebrow),
.tp-section--navy .tp-section-heading > p:not(.tp-eyebrow),
.tp-section--dark .tp-section-label,
.tp-section--navy .tp-section-label {
  color: var(--tp-pale);
}

.tp-section--spacing-compact {
  padding-top: 54px;
  padding-bottom: 54px;
}

.tp-section--spacing-normal {
  padding-top: 96px;
  padding-bottom: 96px;
}

.tp-section--spacing-large {
  padding-top: 132px;
  padding-bottom: 132px;
}

.tp-section-copy > :last-child,
.tp-prose > :last-child,
.tp-leader-card__bio > :last-child {
  margin-bottom: 0;
}

.tp-acf-content-cards .tp-benefit-cards {
  align-content: start;
}

.tp-text-image-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 72px;
}

.tp-text-image-grid--left .tp-text-image-grid__content {
  order: 2;
}

.tp-text-image-grid--left .tp-text-image-grid__media {
  order: 1;
}

.tp-text-image-grid__media {
  margin: 0;
}

.tp-text-image-grid__media img {
  width: 100%;
  min-height: 430px;
  border-radius: var(--tp-radius);
  box-shadow: var(--tp-shadow);
  object-fit: cover;
}

.tp-text-image-grid__content .tp-button {
  margin-top: 18px;
}

.tp-acf-rich-text .tp-prose--narrow {
  max-width: 760px;
}

.tp-acf-rich-text .tp-prose--normal {
  max-width: 960px;
}

.tp-acf-rich-text .tp-prose--wide {
  max-width: var(--tp-container);
}

.tp-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.tp-stat-card {
  position: relative;
  min-height: 190px;
  padding: 34px;
  background: var(--tp-white);
  border-radius: var(--tp-radius);
  box-shadow: var(--tp-shadow);
  overflow: hidden;
}

.tp-stat-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 7px;
  content: "";
  background: var(--tp-accent);
}

.tp-stat-card strong,
.tp-stat-card span {
  display: block;
}

.tp-stat-card strong {
  margin-bottom: 12px;
  font-family: "Epilogue", Arial, sans-serif;
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 1;
}

.tp-stat-card span {
  color: var(--tp-mid);
  font-weight: 650;
}

.tp-logo-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}

.tp-logo-card {
  display: grid;
  min-height: 150px;
  padding: 24px;
  background: var(--tp-white);
  border: 1px solid var(--tp-light);
  border-radius: 14px;
  place-items: center;
}

.tp-logo-card a {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
}

.tp-logo-card img {
  width: auto;
  max-width: 100%;
  max-height: 82px;
  object-fit: contain;
}

.tp-cta-band--teal {
  background: var(--tp-teal);
}

.tp-cta-band--navy {
  color: var(--tp-white);
  background: var(--tp-navy);
}

.tp-cta-band--dark {
  color: var(--tp-white);
  background: var(--tp-ink);
}

.tp-leader-card__bio {
  margin-top: 16px;
  color: var(--tp-mid);
  font-size: 0.9rem;
}

.tp-text-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--tp-red);
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
}

.tp-footer-socials {
  display: flex;
  margin-top: 22px;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.tp-footer-socials a {
  font-weight: 700;
}

.tp-saved-content--legacy {
  border-top: 1px solid var(--tp-light);
}

@media (max-width: 900px) {

  .tp-text-image-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .tp-text-image-grid--left .tp-text-image-grid__content,
  .tp-text-image-grid--left .tp-text-image-grid__media {
    order: initial;
  }

  .tp-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tp-logo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .tp-section--spacing-compact,
  .tp-section--spacing-normal,
  .tp-section--spacing-large {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .tp-stat-grid,
  .tp-logo-grid {
    grid-template-columns: 1fr;
  }
}

/* Make the text column smaller and the cards column wider. */
.tp-split--home {
  grid-template-columns: minmax(340px, 0.75fr) minmax(0, 1.6fr);
  gap: 64px;
  align-items: center;
}

/* Keep the three cards evenly distributed. */
.tp-benefit-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

/* Reduce unnecessary vertical size. */
.tp-number-card {
  min-height: 0;
  height: 100%;
  padding: 28px 24px;
}

/* Keep longer descriptions compact and readable. */
.tp-number-card p {
  font-size: 16px;
  line-height: 1.55;
}

/* Tablet: place the introduction above the cards. */
@media (max-width: 900px) {
  .tp-split--home {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .tp-split--home > * {
    min-width: 0;
  }

  .tp-benefit-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .tp-number-card {
    padding: 24px 18px;
  }
}

/* Mobile: display cards one beneath another. */
@media (max-width: 640px) {
  .tp-benefit-cards {
    grid-template-columns: 1fr;
  }

  .tp-number-card {
    padding: 28px 24px;
  }
}

/* Display Quick Links vertically. */
.tp-footer-links > div {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 10px;
  max-width: none;
}

/* Remove the separators generated by the existing CSS. */
.tp-footer-links > div a::before,
.tp-footer-links > div a::after {
  content: none !important;
  display: none !important;
}

.tp-footer-links > div a {
  display: block;
  margin: 0;
}

/* Stack the footer contact details vertically. */
.tp-footer-contact p {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

/* Hide the separator between phone and email. */
.tp-footer-contact p > span[aria-hidden="true"] {
  display: none;
}

/* Compact Contact Us form. */
.tp-contact-form-panel {
  padding: 130px clamp(40px, 5vw, 80px) 60px;
}

/* Prevent the form from becoming excessively wide. */
.tp-form-content {
  width: 100%;
  max-width: 650px;
}

/* Tighten the space between labels and fields. */
.tp-form-content .wpcf7-form > p,
.tp-form-content .wpcf7-form > .wpcf7-form-control-wrap {
  margin: 0 0 10px;
}

.tp-form-content label {
  margin: 0;
  line-height: 1.3;
}

/* Reduce the height of text fields. */
.tp-form-content input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.tp-form-content select,
.tp-form-content textarea {
  margin-top: 4px;
  padding: 9px 13px;
  line-height: 1.35;
}

/* Keep the message box compact. */
.tp-form-content textarea {
  min-height: 110px;
  max-height: 160px;
  resize: vertical;
}

/* Reduce spacing above validation and response messages. */
.tp-form-content .wpcf7-not-valid-tip {
  margin-top: 3px;
  font-size: 14px;
}

.tp-form-content .wpcf7-response-output {
  margin: 14px 0 0;
}

/* Tablet and mobile adjustments. */
@media (max-width: 1024px) {
  .tp-contact-form-panel {
    padding: 70px 40px;
  }
}

@media (max-width: 640px) {
  .tp-contact-form-panel {
    padding: 50px 24px;
  }

  .tp-form-content textarea {
    min-height: 100px;
  }
}

/* Make the entire leadership card clickable. */
a.tp-leader-card {
	color: inherit;
	text-decoration: none;
	transition: box-shadow 180ms ease, transform 180ms ease;
}

a.tp-leader-card:hover,
a.tp-leader-card:focus-visible {
	color: inherit;
	box-shadow: 0 20px 45px rgb(30 30 30 / 14%);
	transform: translateY(-5px);
}

a.tp-leader-card:focus-visible {
	outline: 3px solid var(--tp-orange);
	outline-offset: 4px;
}

/* ==========================================================
   Individual Leadership Profile
   ========================================================== */

   .tp-leader-profile {
    color: var(--tp-white);
    background: var(--tp-ink);
  }
  
  .tp-leader-profile__hero {
    min-height: 720px;
    padding: 145px 0 110px;
    background:
      radial-gradient(
        circle at 78% 30%,
        rgb(45 66 121 / 30%),
        transparent 42%
      ),
      var(--tp-ink);
  }
  
  /* Return to the complete leadership team. */
  .tp-leader-profile__back {
    display: inline-flex;
    margin-bottom: 45px;
    padding: 10px 15px;
    color: var(--tp-white);
    border: 1px solid rgb(255 255 255 / 28%);
    border-radius: 7px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    align-items: center;
    gap: 9px;
    text-decoration: none;
    transition:
      color 180ms ease,
      background-color 180ms ease,
      border-color 180ms ease,
      transform 180ms ease;
  }
  
  .tp-leader-profile__back:hover,
  .tp-leader-profile__back:focus-visible {
    color: var(--tp-ink);
    background: var(--tp-teal);
    border-color: var(--tp-teal);
    text-decoration: none;
    transform: translateX(-3px);
  }
  
  /* Main portrait and profile-information layout. */
  .tp-leader-profile__layout {
    display: grid;
    grid-template-columns: minmax(320px, 450px) minmax(0, 680px);
    align-items: center;
    justify-content: center;
    gap: clamp(55px, 8vw, 120px);
  }
  
  /* Leader portrait. */
  .tp-leader-profile__portrait {
    position: relative;
    overflow: hidden;
    background: var(--tp-white);
    border: 7px solid rgb(255 255 255 / 8%);
    border-radius: var(--tp-radius);
    box-shadow: 0 28px 70px rgb(0 0 0 / 38%);
  }
  
  .tp-leader-profile__portrait::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 9px;
    content: "";
    background: var(--tp-accent);
  }
  
  .tp-leader-profile__portrait img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1.08;
    object-fit: cover;
    object-position: center top;
  }
  
  /* Leader information. */
  .tp-leader-profile__content {
    max-width: 680px;
    padding: 25px 0;
  }
  
  .tp-leader-profile__content .tp-eyebrow {
    margin-bottom: 18px;
  }
  
/* Center the FAQ accordion after removing topic navigation. */
.tp-acf-faq .tp-faq-layout {
	display: block;
	width: 100%;
	max-width: 1100px;
	margin-inline: auto;
}

.tp-acf-faq .tp-faq-list {
	width: 100%;
}

/* Use a more appropriate heading size inside the FAQ accordion. */
.tp-acf-faq .tp-faq-item h2 {
	margin: 0;
	font-size: inherit;
	line-height: inherit;
}

.tp-acf-faq .tp-faq-item h2 button {
	padding: 22px 64px 22px 24px;
	font-family: "Epilogue", Arial, sans-serif;
	/* font-size: clamp(20px, 1.7vw, 27px); */
	font-weight: 650;
	line-height: 1.3;
	letter-spacing: -0.025em;
}

/* Keep FAQ answers compact and readable. */
.tp-acf-faq .tp-faq-answer {
	padding: 0 64px 24px 24px;
	font-size: 17px;
	line-height: 1.65;
}

/* Mobile adjustments. */
@media (max-width: 640px) {
	.tp-acf-faq .tp-faq-item h2 button {
		padding: 18px 52px 18px 18px;
		font-size: 19px;
	}

	.tp-acf-faq .tp-faq-answer {
		padding: 0 18px 20px;
		font-size: 16px;
	}
}

/* ==========================================================
   Leadership Profile — typography and responsive corrections
   ========================================================== */

/* Prevent grid children from forcing horizontal overflow. */
.tp-leader-profile,
.tp-leader-profile__hero,
.tp-leader-profile__layout,
.tp-leader-profile__portrait,
.tp-leader-profile__content {
	min-width: 0;
}

.tp-leader-profile {
	overflow-x: hidden;
}

/* Leader name. */
.tp-leader-profile__content h1 {
	margin: 0 0 14px;
	color: var(--tp-white);
	font-size: clamp(44px, 5vw, 72px);
	line-height: 1.05;
	letter-spacing: -0.045em;
}

/* Leader job title. */
.tp-leader-profile__role {
	margin: 0 0 28px;
	color: var(--tp-teal);
	font-family: "Epilogue", Arial, sans-serif;
	font-size: clamp(20px, 2vw, 27px);
	font-weight: 650;
	line-height: 1.4;
}

/* Leader biography. */
.tp-leader-profile__bio {
	max-width: 680px;
	color: rgb(255 255 255 / 78%);
	font-size: 18px;
	line-height: 1.7;
}

.tp-leader-profile__bio p {
	margin: 0 0 20px;
}

.tp-leader-profile__bio p:last-child {
	margin-bottom: 0;
}

/* Optional LinkedIn button. */
.tp-leader-profile__linkedin {
	display: inline-flex;
	margin-top: 32px;
	padding: 13px 20px;
	color: var(--tp-ink);
	background: var(--tp-teal);
	border-radius: 7px;
	font-weight: 800;
	align-items: center;
	gap: 9px;
	text-decoration: none;
}

.tp-leader-profile__linkedin:hover,
.tp-leader-profile__linkedin:focus-visible {
	color: var(--tp-ink);
	text-decoration: none;
}

/* Smaller desktop and tablet. */
@media (max-width: 1100px) {
	.tp-leader-profile__hero {
		min-height: 0;
		padding: 130px 0 80px;
	}

	.tp-leader-profile__layout {
		grid-template-columns: minmax(260px, 380px) minmax(0, 1fr);
		gap: 45px;
	}

	.tp-leader-profile__content h1 {
		font-size: clamp(40px, 5vw, 58px);
	}
}

/* Tablet and mobile: stack image and information. */
@media (max-width: 800px) {
	.tp-leader-profile__hero {
		min-height: 0;
		padding: 120px 0 65px;
	}

	.tp-leader-profile__back {
		margin-bottom: 32px;
	}

	.tp-leader-profile__layout {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		justify-items: start;
		gap: 38px;
	}

	.tp-leader-profile__portrait {
		width: min(100%, 480px);
		margin-inline: auto;
	}

	.tp-leader-profile__portrait img {
		width: 100%;
		height: auto;
		aspect-ratio: 1 / 1.08;
		object-fit: cover;
		object-position: center top;
	}

	.tp-leader-profile__content {
		width: min(100%, 680px);
		max-width: none;
		margin-inline: auto;
		padding: 0;
	}

	.tp-leader-profile__content h1 {
		font-size: clamp(38px, 9vw, 54px);
	}

	.tp-leader-profile__role {
		margin-bottom: 24px;
		font-size: clamp(19px, 4vw, 24px);
	}

	.tp-leader-profile__bio {
		max-width: none;
		font-size: 17px;
	}
}

/* Small phones. */
@media (max-width: 480px) {
	.tp-leader-profile__hero {
		padding: 105px 0 50px;
	}

	.tp-leader-profile__back {
		max-width: 100%;
		margin-bottom: 28px;
		padding: 9px 12px;
		font-size: 14px;
	}

	.tp-leader-profile__layout {
		gap: 30px;
	}

	.tp-leader-profile__portrait {
		width: 100%;
		border-width: 5px;
		border-radius: 14px;
	}

	.tp-leader-profile__content h1 {
		font-size: clamp(36px, 11vw, 48px);
	}

	.tp-leader-profile__role {
		font-size: 19px;
	}

	.tp-leader-profile__bio {
		font-size: 16px;
		line-height: 1.65;
	}
}

/* Keep all product cards equal in height. */
.tp-product-grid {
	align-items: stretch;
}

.tp-product-card {
	display: flex;
	height: 100%;
	flex-direction: column;
}

/* Make the white content area fill the remaining card height. */
.tp-product-card > div {
	display: flex;
	min-height: 260px;
	flex: 1;
	flex-direction: column;
}

/* Keep “Explore product” at the bottom of every card. */
.tp-product-card > div > a {
	margin-top: auto;
	align-self: flex-start;
}

/* ==========================================================
   Why Partner: introduction above four spacious cards
   ========================================================== */

   #why-partner > .tp-container.tp-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
    align-items: start;
  }
  
  /* Allow the heading and body to occupy the upper row. */
  #why-partner .tp-section-heading {
    width: 100%;
    max-width: 900px;
  }
  
  /* Display four equal-width cards underneath the copy. */
  #why-partner .tp-benefit-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    gap: 24px;
    align-items: stretch;
  }
  
  /* Keep all cards equal in height with comfortable spacing. */
  #why-partner .tp-card {
    width: 100%;
    min-width: 0;
    height: 100%;
    min-height: 260px;
    padding: 30px;
  }
  
  /* Give card headings and paragraphs more natural line lengths. */
  #why-partner .tp-card h3 {
    margin-bottom: 18px;
    font-size: clamp(20px, 1.6vw, 25px);
    line-height: 1.2;
  }
  
  #why-partner .tp-card p {
    font-size: 16px;
    line-height: 1.6;
  }
  
  /* Two cards per row on tablets. */
  @media (max-width: 900px) {
    #why-partner > .tp-container.tp-split {
      gap: 38px;
    }
  
    #why-partner .tp-benefit-cards {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 20px;
    }
  
    #why-partner .tp-card {
      min-height: 230px;
    }
  }
  
  /* One card per row on phones. */
  @media (max-width: 600px) {
    #why-partner > .tp-container.tp-split {
      gap: 30px;
    }
  
    #why-partner .tp-benefit-cards {
      grid-template-columns: 1fr;
    }
  
    #why-partner .tp-card {
      min-height: 0;
      padding: 26px 22px;
    }
  }

  /* Why Talexes support section: copy above four cards. */
#four-cards-section > .tp-container.tp-split {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 48px;
}

#four-cards-section .tp-section-heading {
	width: 100%;
	max-width: 900px;
}

#four-cards-section .tp-benefit-cards {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	width: 100%;
	align-items: stretch;
}

#four-cards-section .tp-card {
	height: 100%;
	min-height: 240px;
}

@media (max-width: 900px) {
	#four-cards-section .tp-benefit-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	#four-cards-section .tp-benefit-cards {
		grid-template-columns: 1fr;
	}

	#four-cards-section .tp-card {
		min-height: 0;
	}
}

.page-id-77 .tp-prose h2, .page-id-77 .tp-prose h3 {
  margin-top: 10px !important;
  margin-bottom: 10px !important;
}

.tp-footer-bottom {
  display: flex;
  justify-content: flex-end;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.tp-footer-privacy-link {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.2s ease;
}

.tp-footer-privacy-link:hover,
.tp-footer-privacy-link:focus-visible {
  color: #f15a29;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 767px) {
  .tp-footer-bottom {
      justify-content: flex-start;
      margin-top: 24px;
  }
}

/* Two-column variation for Content + Cards sections. */
#two-column-cards .tp-benefit-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Ensure both cards occupy their entire grid columns. */
#two-column-cards .tp-card {
  width: 100%;
  min-width: 0;
}

/* Stack the cards on mobile devices. */
@media (max-width: 640px) {
  #two-column-cards .tp-benefit-cards {
      grid-template-columns: 1fr;
  }
}