/* ==========================================================================
   PartnerTap — global styles
   Base, header, footer, block style variations, shared components.
   Universal section styles are generated in generated-global.css; page
   family styles live in pages/*.css.
   ========================================================================== */

:root {
  --pt-gutter: 48px;
  --pt-gutter-sm: 28px;
  --pt-navy: #10224a;
  --pt-navy-hover: #1d3568;
  --pt-body: #46567d;
  --pt-muted: #4a5f92;
  --pt-blue: #1b79cd; /* #1c7fd6 */
  --pt-blue-dark: #186eb9; /* text/white-text-safe blue (5.29:1 with white) */
  --pt-teal: #22c4c9;
  --pt-teal-dark: #0d7983; /* #12a3b0 */
  --pt-purple: #7a4f9e;
  --pt-magenta: #c2136f;
  --pt-pink: #e0559a;
  --pt-rose: #c24775;
  --pt-amber-dark: #9a5a17; /* text-safe amber (5.46:1 on white) */
  --pt-red: #d6102c;
  --pt-page-gradient: linear-gradient(180deg, #fdfbf6 0%, #fdf8f4 12%, #fbf3f2 24%, #fdf9f4 40%, #fdfbf6 58%, #fefdfa 78%, #ffffff 100%);
  --pt-container-width: 1336px;
  --pt-container-width-wide: 1420px;
  --pt-text-muted: #667297; /* #6a769a */
}

@media (max-width: 782px) {
  :root {
    --pt-gutter: 24px;
    --pt-gutter-sm: 16px;
  }
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
/* Anchor links scroll smoothly and land below the sticky header (.pt-header,
   62px min-height + 1px border) with a little breathing room. Smooth
   scrolling is switched off by the prefers-reduced-motion rule below. */
html {
  -webkit-text-size-adjust: 100%;
  --pt-scroll-offset: calc(63px + 16px);
  scroll-behavior: smooth;
  scroll-padding-top: var(--pt-scroll-offset);
}

/* the sticky header sits below the admin bar when logged in (see Header) */
html:has(> body.admin-bar) {
  scroll-padding-top: calc(var(--pt-scroll-offset) + var(--wp-admin--admin-bar--height, 32px));
}

body {
  margin: 0;
  background: var(--pt-page-gradient) #fdfbf6;
  color: var(--pt-body);
  font-family: Calibri, Carlito, 'Segoe UI', system-ui, sans-serif;
  overflow-x: clip;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.pt-main {
  flex: 1 0 auto;
}

h1, h2, h3, h4, h5, h6, p {
  text-wrap: pretty;
  overflow-wrap: anywhere;
}

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

a {
  color: var(--pt-navy);
  text-decoration: none;
}

a:hover {
  color: var(--pt-rose);
}

/* Links inside paragraphs that set their own colour (e.g. light links on
   dark gradient cards) take the paragraph colour instead of navy. */
.pt-link-3 a,
.pt-helparticle-previous__link a {
  color: inherit;
}

a:focus,
button:focus {
  outline: solid 2px var(--pt-navy);
}

:focus-visible {
  outline: 3px solid var(--pt-blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.screen-reader-text {
  border: 0;
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  clip-path: none;
  background: #fff;
  color: var(--pt-navy);
  display: block;
  font-size: 1rem;
  font-weight: 700;
  height: auto;
  left: 8px;
  top: 8px;
  padding: 16px 24px;
  width: auto;
  z-index: 100000;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, .3);
}

/* Skip link from core (block themes) */
.skip-link.screen-reader-text:focus {
  left: 8px;
  top: 8px;
}

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

/* --------------------------------------------------------------------------
   Block defaults
   -------------------------------------------------------------------------- */
.wp-block-group,
.wp-block-buttons,
.wp-block-image,
figure.wp-block-image {
  margin: 0;
}

.wp-block-buttons {
  gap: 20px;
}

/* --------------------------------------------------------------------------
   Layout container
   Every section, the header and the footer share one width including
   the side gutters. Sections keep their own
   vertical spacing on their BEM class.
   -------------------------------------------------------------------------- */
.pt-container {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--pt-container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--pt-gutter);
  padding-right: var(--pt-gutter);
}

.pt-container--narrow {
  max-width: 1176px;
}


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

.wp-block-list {
  margin: 0;
}

/* Paragraph split into text + real lists keeps its original blank-line rhythm */
.pt-text-flow > * + * {
  margin-top: var(--pt-text-gap, 1.6em);
}

.wp-block-list li + li {
  margin-top: var(--pt-item-gap, 0);
}

/* Buttons — every button is a fully rounded pill. Fill comes from a style variation. */
.wp-block-button__link,
.wp-element-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 12px 30px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--pt-navy);
  color: #ffffff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .15s ease, color .15s ease, filter .15s ease, border-color .15s ease;
}

.wp-block-button__link:hover,
.wp-element-button:hover {
  color: #ffffff;
  background: var(--pt-navy-hover);
}

.is-style-pt-navy .wp-block-button__link {
  background: var(--pt-navy);
  border-color: var(--pt-navy);
  color: #ffffff;
}

.is-style-pt-navy .wp-block-button__link:hover,
.is-style-pt-navy .wp-block-button__link:focus-visible {
  background: var(--pt-navy-hover);
  border-color: var(--pt-navy-hover);
}

.is-style-pt-gradient-blue .wp-block-button__link {
  background: linear-gradient(95deg, var(--pt-blue-dark) 0%, #0b7580 100%); /* 22c4c9 */
  border: none;
  color: #ffffff;
}

.is-style-pt-gradient-pink .wp-block-button__link {
  background: linear-gradient(95deg, #7a4f9e 0%, var(--pt-rose) 100%);
  border: none;
  color: #ffffff;
}

.is-style-pt-gradient-blue .wp-block-button__link:hover,
.is-style-pt-gradient-blue .wp-block-button__link:focus-visible,
.is-style-pt-gradient-pink .wp-block-button__link:hover,
.is-style-pt-gradient-pink .wp-block-button__link:focus-visible {
  filter: brightness(1.08);
  color: #ffffff;
}

.is-style-pt-outline .wp-block-button__link {
  background: #ffffff;
  border: 1px solid rgba(16, 34, 74, 0.18);
  color: var(--pt-navy);
}

.is-style-pt-outline .wp-block-button__link:hover,
.is-style-pt-outline .wp-block-button__link:focus-visible {
  border-color: var(--pt-navy);
  background: #f7f4ec;
  color: var(--pt-navy);
}

.is-style-pt-outline-navy .wp-block-button__link {
  background: transparent;
  border: 1px solid var(--pt-navy);
  color: var(--pt-navy);
}

.is-style-pt-outline-navy .wp-block-button__link:hover,
.is-style-pt-outline-navy .wp-block-button__link:focus-visible {
  background: var(--pt-navy);
  color: #ffffff;
}

.is-style-pt-light .wp-block-button__link {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
}

.is-style-pt-light .wp-block-button__link:hover,
.is-style-pt-light .wp-block-button__link:focus-visible {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

/* Headings — gradient text */
.is-style-pt-gradient-blue.wp-block-heading,
.is-style-pt-gradient-pink.wp-block-heading {
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

.is-style-pt-gradient-blue.wp-block-heading {
  background-image: linear-gradient(100deg, #10224a 0%, #10224a 22%, #1c7fd6 58%, #0b7580 100%); /* 22c4c9 */
}

.is-style-pt-gradient-pink.wp-block-heading {
  background-image: linear-gradient(100deg, #10224a 0%, #10224a 20%, #7a4f9e 62%, #e0559a 100%);
}

/* Paragraph styles */
p.is-style-pt-eyebrow {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pt-muted);
}

p.is-style-pt-lead {
  font-size: 20px;
  line-height: 1.6;
  color: var(--pt-body);
}

p.is-style-pt-note {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(16, 34, 74, 0.6);
}

/* Group styles */
.wp-block-group.is-style-pt-card {
  background: #ffffff;
  border: 1px solid rgba(16, 34, 74, 0.10);
  border-radius: 12px;
  box-shadow: 0 18px 40px -30px rgba(16, 34, 74, 0.35);
  padding: 28px;
}

.wp-block-group.is-style-pt-callout,
.wp-block-group.is-style-pt-callout-teal,
.wp-block-group.is-style-pt-callout-purple,
.wp-block-group.is-style-pt-callout-magenta,
.wp-block-group.is-style-pt-callout-blue {
  border-left: 3px solid var(--pt-teal-dark);
  padding: 4px 0 4px 22px;
}

.wp-block-group.is-style-pt-callout-purple { border-left-color: var(--pt-purple); }
.wp-block-group.is-style-pt-callout-magenta { border-left-color: var(--pt-magenta); }
.wp-block-group.is-style-pt-callout-blue { border-left-color: var(--pt-blue); }

/* Image styles */
.wp-block-image.is-style-pt-framed img {
  border-radius: 16px;
  border: 1px solid rgba(16, 34, 74, 0.10);
  box-shadow: 0 18px 40px -30px rgba(16, 34, 74, 0.35);
  background: #f2eee6;
}

.wp-block-image.is-style-pt-logo-gray img {
  filter: grayscale(1) contrast(1.6) brightness(0.75);
  opacity: 0.9;
}

/* List styles */
.wp-block-list.is-style-pt-checklist {
  list-style: none;
  padding-left: 0;
}

.wp-block-list.is-style-pt-checklist li {
  position: relative;
  padding-left: 1.6em;
}

.wp-block-list.is-style-pt-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.9em;
  height: 0.9em;
  border-radius: 50%;
  background: var(--pt-teal-dark);
}

/* Form embed placeholder */
.pt-form-placeholder {
  border: 2px dashed rgba(16, 34, 74, 0.25);
  border-radius: 12px;
  padding: 28px 24px;
  background: rgba(255, 255, 255, 0.6);
  margin: 6px 0;
}

.pt-form-placeholder__note {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--pt-body);
}

/* Embeds */
.wp-block-embed {
  margin: 0;
}

.wp-block-embed.wp-has-aspect-ratio .wp-block-embed__wrapper {
  position: relative;
}

.wp-block-embed.wp-has-aspect-ratio iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 12px;
}

/* --------------------------------------------------------------------------
   Header
   Layout: logo | main navigation (centred in the remaining space) | utility
   links. Below 1100px the main navigation collapses into the core overlay
   menu (hamburger on the right); theme.js copies the utility links into that
   overlay so nothing is lost on phones.
   -------------------------------------------------------------------------- */
/* The template-part wrapper is the sticky element (a sticky child would be
   confined to the wrapper's own height). */
.pt-header-part {
  position: sticky;
  top: 0;
  z-index: 20;
}

/* keep the sticky header below the admin bar when logged in */
.admin-bar .pt-header-part {
  top: var(--wp-admin--admin-bar--height, 32px);
}

.pt-header {
  background: #ffffff;
  border-bottom: 1px solid rgba(16, 34, 74, 0.06);
}

.pt-header__inner {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: var(--pt-container-width-wide);
}

.pt-header__logo {
  flex: none;
}

.pt-header__logo img {
  display: block;
  width: 176px;
  height: auto;
}

.pt-header__logo a {
  display: block;
}

/* Main navigation ------------------------------------------------------- */
.pt-nav {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 14.5px;
  font-weight: 700;
}

.pt-nav .wp-block-navigation__container {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 10px 32px;
  width: 100%;
}

.pt-nav .wp-block-navigation-item {
  display: flex;
  align-items: center;
  white-space: nowrap;
  background-color: transparent;
}

.pt-nav .wp-block-navigation-item__content {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--pt-navy);
  font-weight: 700;
  padding: 8px 0;
}

.pt-nav .wp-block-navigation-item__label {
  color: var(--pt-navy);
}

.pt-nav .wp-block-navigation-item__content:hover,
.pt-nav .wp-block-navigation-item__content:focus-visible {
  color: #0f6f9e;
}

/* submenu toggle arrow (button) */
.pt-nav .wp-block-navigation__submenu-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-left: -2px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--pt-navy);
  cursor: pointer;
}

.pt-nav .wp-block-navigation__submenu-icon svg {
  width: 10px;
  height: 10px;
  stroke: currentColor;
}

.pt-nav .wp-block-navigation__submenu-icon:hover,
.pt-nav .wp-block-navigation__submenu-icon:focus-visible {
  background: rgba(16, 34, 74, 0.06);
}

/* dropdown panel */
.pt-nav .wp-block-navigation__submenu-container {
  min-width: 208px;
  border-radius: 12px;
  border: 1px solid rgba(16, 34, 74, 0.10);
  background: #ffffff;
  box-shadow: 0 18px 40px -20px rgba(16, 34, 74, 0.35);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pt-nav .wp-block-navigation__submenu-container .wp-block-navigation-item {
  display: block;
}

.pt-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
  display: block;
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--pt-navy);
}

.pt-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover,
.pt-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:focus-visible {
  background: rgba(16, 34, 74, 0.05);
  color: var(--pt-navy);
}

/* current page inside a dropdown */
.pt-nav .wp-block-navigation__submenu-container .current-menu-item > .wp-block-navigation-item__content,
.pt-nav .wp-block-navigation__submenu-container .current-menu-item > .wp-block-navigation-item__content:hover,
.pt-nav .wp-block-navigation__submenu-container .current-menu-item > .wp-block-navigation-item__content:focus-visible {
  background: rgba(28, 127, 214, 0.09);
  color: var(--pt-blue);
}

.pt-nav .wp-block-navigation__submenu-container .current-menu-item > .wp-block-navigation-item__content .wp-block-navigation-item__label {
  color: inherit;
}

/* Utility navigation (Blog / Contact / Sign In / Get Started) ------------ */
.pt-nav-util {
  flex: none;
  font-size: 14px;
  font-weight: 700;
}

.pt-nav-util .wp-block-navigation__container {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 16px;
}

.pt-nav-util .wp-block-navigation-item {
  white-space: nowrap;
}

/* doubled class: core sets `.wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content { color: inherit }` */
.pt-nav-util .wp-block-navigation-item__content.wp-block-navigation-item__content {
  color: var(--pt-blue);
  font-weight: 700;
  padding: 8px 0;
}

.pt-nav-util .wp-block-navigation-item__content.wp-block-navigation-item__content:hover,
.pt-nav-util .wp-block-navigation-item__content.wp-block-navigation-item__content:focus-visible {
  color: var(--pt-navy);
}

.pt-nav-util .pt-nav__cta .wp-block-navigation-item__content.wp-block-navigation-item__content,
.pt-nav .pt-nav__cta .wp-block-navigation-item__content {
  display: inline-flex;
  align-items: center;
  padding: 9px 20px;
  border-radius: 999px;
  background: var(--pt-navy);
  color: #ffffff;
  font-size: 14px;
  justify-content: center;
}

.pt-nav-util .pt-nav__cta .wp-block-navigation-item__content.wp-block-navigation-item__content:hover,
.pt-nav-util .pt-nav__cta .wp-block-navigation-item__content.wp-block-navigation-item__content:focus-visible,
.pt-nav .pt-nav__cta .wp-block-navigation-item__content:hover,
.pt-nav .pt-nav__cta .wp-block-navigation-item__content:focus-visible {
  background: var(--pt-navy-hover);
  color: #ffffff;
}

/* Responsive overlay (core markup) ---------------------------------------- */
.pt-nav .wp-block-navigation__responsive-container-open,
.pt-nav .wp-block-navigation__responsive-container-close {
  color: var(--pt-navy);
  padding: 6px;
  border-radius: 8px;
}

.pt-nav .wp-block-navigation__responsive-container-open svg,
.pt-nav .wp-block-navigation__responsive-container-close svg {
  width: 28px;
  height: 28px;
}

@media (max-width: 1099px) {
  .pt-header .pt-nav-util {
    display: none;
  }

  .pt-nav {
    display: flex;
    justify-content: flex-end;
  }

  .pt-nav .wp-block-navigation__responsive-container-open {
    display: flex;
    margin-left: auto;
  }

  .pt-nav .wp-block-navigation__responsive-container:not(.is-menu-open) {
    display: none;
  }

  .pt-nav .wp-block-navigation__responsive-container.is-menu-open {
    background: #ffffff;
    /* extra 60px at the bottom keeps Get Started clear of the cookie "Manage consent" tab */
    padding: 24px var(--pt-gutter) 84px;
    overflow-y: auto;
  }

  .pt-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 6px;
    width: 100%;
  }

  .pt-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    width: 100%;
    white-space: normal;
  }

  .pt-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
    font-size: 18px;
    padding: 10px 0;
  }

  /* Core expands every submenu while the overlay is open; the arrow buttons are hidden by core there. */
  .pt-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {
    grid-column: 1 / -1;
    position: static;
    width: 100%;
    box-shadow: none;
    border: 0;
    padding: 0 0 8px 16px;
    min-width: 0;
    background: transparent;
  }

  .pt-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
    font-size: 16px;
    padding: 8px 12px;
  }

  /* utility links copied into the overlay by theme.js */
  .pt-nav .wp-block-navigation__responsive-container.is-menu-open .pt-nav__util-first {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(16, 34, 74, 0.12);
  }

  .pt-nav .wp-block-navigation__responsive-container.is-menu-open .pt-nav__util .wp-block-navigation-item__content {
    color: var(--pt-blue);
  }

  .pt-nav .wp-block-navigation__responsive-container.is-menu-open .pt-nav__cta .wp-block-navigation-item__content {
    margin-top: 8px;
    padding: 12px 24px;
    font-size: 16px;
    color: #ffffff;
  }

  /* the label span is navy by default (`.pt-nav .wp-block-navigation-item__label`) */
  .pt-nav .wp-block-navigation__responsive-container.is-menu-open .pt-nav__cta .wp-block-navigation-item__label {
    color: inherit;
  }
}

@media (min-width: 1100px) {
  .pt-nav .wp-block-navigation__responsive-container-open {
    display: none;
  }

  /* utility items only exist in the overlay copy */
  .pt-nav .pt-nav__util {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.pt-footer {
  width: 100%;
  background: #f2f2f2;
  border-top: 1px solid rgba(16, 34, 74, 0.12);
  margin-top: auto;
}

.pt-footer__inner {
  padding-top: 90px;
  padding-bottom: 40px;
  display: grid;
  grid-template-columns: minmax(180px, 1.05fr) repeat(5, minmax(100px, 1fr));
  gap: 44px 26px;
  max-width: var(--pt-container-width-wide);
}

.pt-footer__brand {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.pt-footer__logo {
  display: contents;
}

.pt-footer__logo img {
  display: block;
  width: 176px;
  max-width: 100%;
  height: auto;
}

.pt-footer__blurb {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--pt-navy); /* rgba(16, 34, 74, 0.6) */
}

.pt-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pt-footer__contact-link {
  margin: 0;
  font-size: 14px;
}

.pt-footer__contact-link a {
  color: rgba(16, 34, 74, 0.75);
}

.pt-footer__contact-link a:hover,
.pt-footer__contact-link a:focus-visible {
  color: var(--pt-navy);
}

.pt-footer__col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pt-footer__col-title {
  margin: 0;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pt-body); /* rgba(16, 34, 74, 0.5) */
}

.pt-footer__nav .wp-block-navigation__container {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.pt-footer__nav .wp-block-navigation-item__content {
  font-size: 13px;
  line-height: 1.4;
  color: rgba(16, 34, 74, 0.68);
}

.pt-footer__nav .wp-block-navigation-item__content:hover,
.pt-footer__nav .wp-block-navigation-item__content:focus-visible {
  color: var(--pt-navy);
}

.pt-footer__bottom {
  padding-top: 26px;
  padding-bottom: 46px;
  border-top: 1px solid rgba(16, 34, 74, 0.12);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 26px;
}

.pt-footer__copyright {
  margin: 0;
  font-size: 13px;
  color: var(--pt-body); /* rgba(16, 34, 74, 0.5) */
}

.pt-footer__legal .wp-block-navigation__container {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 26px;
}

.pt-footer__legal .wp-block-navigation-item__content {
  font-size: 13px;
  color: rgba(16, 34, 74, 0.6);
}

.pt-footer__legal .wp-block-navigation-item__content:hover,
.pt-footer__legal .wp-block-navigation-item__content:focus-visible {
  color: var(--pt-navy);
}

@media (max-width: 1024px) {
  .pt-footer__inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pt-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .pt-footer__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-top: 56px;
  }
}

/* --------------------------------------------------------------------------
   Blog listing (home.html) and archives
   -------------------------------------------------------------------------- */
.pt-blog__hero {
  max-width: 1240px;
  margin: 0 auto;
  padding: 72px var(--pt-gutter) 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.pt-blog__eyebrow {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pt-muted);
}

.pt-blog__title {
  margin: 0;
  max-width: 1000px;
  text-align: center;
  font-size: clamp(32px, 5.8vw, 58px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--pt-navy);
}

.pt-blog__lead {
  margin: 0;
  max-width: 920px;
  text-align: center;
  font-size: 20px;
  line-height: 1.6;
  color: var(--pt-body);
}

.pt-blog__layout {
  margin: 0 auto;
  padding: 40px var(--pt-gutter) 92px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 306px;
  gap: 48px;
  align-items: start;
}

.pt-blog__main {
  min-width: 0;
}

.pt-blog__section-head {
  padding: 0 0 10px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
}

.pt-blog__section-title {
  margin: 0;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--pt-navy);
}

.pt-blog__grid {
  padding: 22px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.pt-blog__grid > .wp-block-post {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.pt-blog__card {
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(16, 34, 74, 0.10);
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(16, 34, 74, 0.05);
  transition: border-color .15s ease, box-shadow .15s ease;
}

.pt-blog__card:hover,
.pt-blog__card:focus-within {
  border-color: rgba(16, 34, 74, 0.24);
  box-shadow: 0 16px 38px -20px rgba(16, 34, 74, 0.32);
}

.pt-blog__card-image {
  margin: 0;
}

.pt-blog__card-image img {
  display: block;
  width: 100%;
  height: 196px;
  object-fit: cover;
  background: #f2eee6;
}

.pt-blog__card-body {
  flex: 1;
  padding: 24px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pt-blog__card-date {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pt-teal-dark);
}

.pt-blog__card-title {
  margin: 0;
  font-size: 21px;
  line-height: 1.26;
  font-weight: 700;
  letter-spacing: -0.016em;
  color: var(--pt-navy);
}

.pt-blog__card-title a {
  color: inherit;
}

.pt-blog__card-title a:hover,
.pt-blog__card-title a:focus-visible {
  color: var(--pt-rose);
}

.pt-blog__card-excerpt {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--pt-body);
}

.pt-blog__card-excerpt p {
  margin: 0;
}

.pt-blog__card-excerpt .wp-block-post-excerpt__more-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--pt-teal-dark);
}

.pt-blog__card-excerpt .wp-block-post-excerpt__more-link:hover,
.pt-blog__card-excerpt .wp-block-post-excerpt__more-link:focus-visible {
  color: var(--pt-navy);
}

.pt-blog__card-excerpt .wp-block-post-excerpt__more-text {
  margin: 0;
}

.pt-blog__pagination {
  padding: 46px 0 0;
  display: flex;
  justify-content: center;
  gap: 18px;
  font-size: 15px;
  font-weight: 700;
}

.pt-blog__pagination a,
.pt-blog__pagination .wp-block-query-pagination-next,
.pt-blog__pagination .wp-block-query-pagination-previous {
  display: inline-flex;
  white-space: nowrap;
  padding: 14px 32px;
  border-radius: 999px;
  border: 1px solid rgba(16, 34, 74, 0.18);
  background: #ffffff;
  color: var(--pt-navy);
}

.pt-blog__pagination a:hover,
.pt-blog__pagination a:focus-visible {
  border-color: var(--pt-navy);
  background: #f7f4ec;
}

.pt-blog__pagination .wp-block-query-pagination-numbers {
  display: none;
}

.pt-blog__none {
  padding: 40px 0;
  font-size: 18px;
}

/* sidebar */
.pt-blog__sidebar {
  min-width: 0;
  margin-top: 68px;
  display: flex;
  flex-direction: column;
  gap: 34px;
}

.pt-blog__widget {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.pt-blog__widget-title {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pt-muted);
}

.pt-blog__search {
  border-radius: 16px;
  border: 1px solid rgba(16, 34, 74, 0.10);
  background: #ffffff;
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pt-blog__search .wp-block-search__inside-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(16, 34, 74, 0.18);
  border-radius: 10px;
  padding: 4px 6px 4px 14px;
  background: #fdfbf6;
}

.pt-blog__search .wp-block-search__input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font-family: inherit;
  font-size: 15px;
  color: var(--pt-navy);
  padding: 8px 0;
}

.pt-blog__search .wp-block-search__input:focus-visible {
  outline: 2px solid var(--pt-blue);
  outline-offset: 2px;
}

.pt-blog__search .wp-block-search__button {
  border: none;
  background: transparent;
  padding: 8px 10px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: var(--pt-navy);
  cursor: pointer;
}

.pt-blog__recent,
.pt-blog__archives {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.pt-blog__recent li {
  padding-left: 14px;
  border-left: 2px solid rgba(16, 34, 74, 0.14);
  font-size: 15.5px;
  line-height: 1.4;
  font-weight: 700;
}

.pt-blog__recent li a {
  color: var(--pt-navy);
}

.pt-blog__recent li a:hover,
.pt-blog__recent li a:focus-visible {
  color: var(--pt-rose);
}

.pt-blog__archives {
  gap: 10px;
}

.pt-blog__archives li {
  font-size: 14px;
  line-height: 1.4;
}

.pt-blog__archives li a {
  color: rgba(16, 34, 74, 0.72);
}

.pt-blog__archives li a:hover,
.pt-blog__archives li a:focus-visible {
  color: var(--pt-navy);
}

@media (max-width: 900px) {
  .pt-blog__layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .pt-blog__sidebar {
    margin-top: 12px;
  }
}

@media (max-width: 640px) {
  .pt-blog__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* --------------------------------------------------------------------------
   Single post (single.html)
   -------------------------------------------------------------------------- */
.pt-article__back {
  max-width: var(--pt-container-width);
  margin: 0 auto;
  padding: 8px var(--pt-gutter) 0;
}

.pt-article__back a,
.pt-article__back-link a {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pt-muted);
}

.pt-article__back a:hover,
.pt-article__back a:focus-visible {
  color: var(--pt-navy);
}

.pt-article__layout {
  margin: 0 auto;
  padding: 40px var(--pt-gutter) 92px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 306px;
  gap: 48px;
  align-items: start;
}

.pt-article__main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.pt-article__head {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pt-article__title {
  margin: 0;
  font-size: clamp(30px, 5vw, 50px);
  line-height: 1.14;
  font-weight: 700;
  letter-spacing: -0.024em;
  color: var(--pt-navy);
}

.pt-article__date {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pt-teal-dark);
}

.pt-article__body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 18px;
  line-height: 1.72;
  color: var(--pt-body);
}

.pt-article__body > * {
  margin: 0;
}

.pt-article__body p {
  margin: 0;
  font-size: 18px;
  line-height: 1.72;
}

.pt-article__body p + p,
.pt-article__body ul + p,
.pt-article__body ol + p,
.pt-article__body p + ul,
.pt-article__body p + ol {
  margin-top: 13px;
}

.pt-article__body h2 {
  margin: 14px 0 0;
  font-size: 32px;
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--pt-navy);
}

.pt-article__body h3 {
  margin: 8px 0 0;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--pt-navy);
}

.pt-article__body h4 {
  margin: 6px 0 0;
  font-size: 19px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--pt-navy);
}

.pt-article__body ul,
.pt-article__body ol {
  margin: 0;
  padding-left: 22px;
}

.pt-article__body li + li {
  margin-top: 6px;
}

.pt-article__body a {
  color: var(--pt-blue);
  font-weight: 700;
}

.pt-article__body a:hover,
.pt-article__body a:focus-visible {
  color: var(--pt-rose);
}

.pt-article__body .wp-block-image,
.pt-article__body figure {
  margin: 8px 0;
}

.pt-article__body .wp-block-image img,
.pt-article__body figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid rgba(16, 34, 74, 0.10);
  background: #f2eee6;
}

.pt-article__body figcaption {
  margin: 10px 0 0;
  font-size: 14px;
  font-style: italic;
  color: var(--pt-body); /* rgba(16, 34, 74, 0.5) */
  text-align: center;
}

.pt-article__body .pt-callout {
  margin: 4px 0;
}

.pt-article__body .pt-callout p {
  font-size: 18px;
  line-height: 1.72;
}

.pt-article__body .pt-callout p + p {
  margin-top: 12px;
}

.pt-article__body .wp-block-quote,
.pt-article__body blockquote {
  margin: 8px 0;
  border-left: 3px solid var(--pt-purple);
  padding: 4px 0 4px 22px;
  font-style: normal;
}

.pt-article__body .wp-block-quote cite,
.pt-article__body blockquote cite {
  display: block;
  margin-top: 8px;
  font-size: 15px;
  font-style: normal;
  color: var(--pt-text-muted);
}

.pt-article__body .has-medium-font-size {
  font-size: 18px;
}

.pt-article__footer {
  margin-top: 12px;
  padding-top: 26px;
  border-top: 1px solid rgba(16, 34, 74, 0.14);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.pt-article__back-link a {
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
  color: #d63c8b;
}

.pt-article__back-link a:hover,
.pt-article__back-link a:focus-visible {
  color: var(--pt-navy);
}

@media (max-width: 900px) {
  .pt-article__layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* --------------------------------------------------------------------------
   Search / archive / 404
   -------------------------------------------------------------------------- */
.pt-archive__hero {
  max-width: 1240px;
  margin: 0 auto;
  padding: 72px var(--pt-gutter) 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}

.pt-archive__title {
  margin: 0;
  font-size: clamp(30px, 4.6vw, 46px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--pt-navy);
}

.pt-archive__title .wp-block-query-title {
  display: inline;
}

.pt-404 {
  max-width: 800px;
  margin: 0 auto;
  padding: 120px var(--pt-gutter) 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.pt-404 .wp-block-search__inside-wrapper {
  display: flex;
  gap: 10px;
  border: 1px solid rgba(16, 34, 74, 0.18);
  border-radius: 999px;
  padding: 4px 4px 4px 18px;
  background: #ffffff;
}

.pt-404 .wp-block-search__input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 15px;
  padding: 8px 0;
  min-width: 0;
}

.pt-404 .wp-block-search__button {
  border: none;
  border-radius: 999px;
  background: var(--pt-navy);
  color: #ffffff;
  font-family: inherit;
  font-weight: 700;
  padding: 10px 20px;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   Customers page: featured carousel + logo grid with sector filters
   -------------------------------------------------------------------------- */
/* Grid: [prev] [viewport] [next] with the dots underneath, so the arrows
   never cover a slide. On phones the arrows move below the slides, either
   side of the dots. */
.pt-carousel {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 18px 16px;
}

.pt-carousel__viewport {
  grid-column: 2;
  grid-row: 1;
  overflow: hidden;
  border-radius: 14px;
}

.pt-carousel__track {
  display: flex;
  align-items: stretch;
  gap: 20px;
  transition: transform .45s ease;
}

/* every slide (and the card inside it) is as tall as the tallest one */
.pt-carousel__slide {
  flex: 0 0 calc((100% - 40px) / 3);
  box-sizing: border-box;
  min-width: 0;
  display: flex;
}

.pt-carousel .pt-carousel__slide > * {
  flex: 1 1 auto;
  width: 100%;
}

.pt-carousel__btn {
  grid-row: 1;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(16, 34, 74, 0.14);
  background: #ffffff;
  color: var(--pt-navy);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 24px -14px rgba(16, 34, 74, 0.45);
}

.pt-carousel__btn:disabled {
  opacity: .4;
  cursor: default;
}

.pt-carousel__btn--prev { grid-column: 1; }
.pt-carousel__btn--next { grid-column: 3; }

.pt-carousel__dots {
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.pt-carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: rgba(16, 34, 74, 0.18);
  cursor: pointer;
  transition: width .2s ease, background-color .2s ease;
}

.pt-carousel__dot[aria-current="true"] {
  width: 26px;
  background: var(--pt-navy);
}

@media (max-width: 1024px) {
  .pt-carousel__slide { flex-basis: calc((100% - 20px) / 2); }
}

@media (max-width: 640px) {
  .pt-carousel__slide { flex-basis: 100%; }

  .pt-carousel__viewport { grid-column: 1 / -1; }

  .pt-carousel__btn,
  .pt-carousel__dots { grid-row: 2; }

  .pt-carousel__dots { grid-column: 2; }
}

.pt-filter__pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(16, 34, 74, 0.14);
  background: #ffffff;
  color: var(--pt-navy);
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.pt-filter__pill[aria-pressed="true"] {
  background: var(--pt-navy);
  border-color: var(--pt-navy);
  color: #ffffff;
}

.pt-filter__pill:hover,
.pt-filter__pill:focus-visible {
  border-color: var(--pt-navy);
}

.pt-filter__item[hidden] {
  display: none;
}

/* --------------------------------------------------------------------------
   Expandable capability cards (Product Overview "read more")
   -------------------------------------------------------------------------- */
.pt-expander__body {
  position: relative;
}

.pt-expander:not(.is-open) .pt-expander__body {
  max-height: var(--pt-expander-height, 79.2px);
  overflow: hidden;
}

.pt-expander:not(.is-open) .pt-expander__body::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #ffffff 100%);
  pointer-events: none;
}

.pt-expander__toggle {
  margin-top: 8px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--pt-navy);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.pt-expander__toggle:hover,
.pt-expander__toggle:focus-visible {
  color: var(--pt-blue);
}

.pt-expander.is-open .pt-expander__toggle-more,
.pt-expander:not(.is-open) .pt-expander__toggle-less {
  display: none;
}

/* Editor: keep universal sections readable */
.editor-styles-wrapper .pt-form-placeholder {
  background: rgba(255, 255, 255, 0.9);
}

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.form label {
  display: block;
	margin: 0px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgb(74, 95, 146);
}

[type="text"],
[type="email"],
[type="phone"],
[type="search"],
[type="number"],
select,
textarea {
	box-sizing: border-box;
	width: 100%;
	padding: 13px 15px;
	border-radius: 9px;
	border: 1px solid rgba(16, 34, 74, 0.18);
	background: rgb(255, 255, 255);
	font-family: inherit;
	font-size: 15px;
	color: rgb(16, 34, 74);
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-form > div {
  grid-column: 1 / -1;
}

.contact-form p {
  margin: 0;
}

@media only screen and (max-width: 600px) {

  .contact-form {
    grid-template-columns: 1fr;
  }

}
/* Clickable cards: only the title is a real link; theme.js forwards clicks
   anywhere on the card to the first link inside it. */
.pt-card-clickable {
  cursor: pointer;
}

.pt-card-clickable a,
.pt-card-clickable a:hover {
  color: inherit;
}

.pt-card-clickable:focus-within {
  box-shadow: 0 14px 30px -18px rgba(16, 34, 74, 0.4);
}

/* Product detail hero: the screenshot glow bleeds 50px past each side of its
   box; clip it at the section so it can't cause horizontal scroll on mobile. */
.pt-productdetail-hero__wrap {
  overflow-x: clip;
}
