/*
 * PTE Design System 1.0
 * Child theme of Twenty Twenty-Four.
 * All page styling lives here — never in page content.
 */

:root{
  --pte-navy:#0F2340;
  --pte-navy-2:#1B3A6B;
  --pte-blue:#006AFF;
  --pte-blue-dark:#0047B3;
  --pte-yellow:#F5C518;
  --pte-yellow-dark:#D4A916;
  --pte-ink:#111827;
  --pte-body:#374151;
  --pte-muted:#6B7280;
  --pte-line:#E5E7EB;
  --pte-paper:#F8F9FA;
  --pte-white:#FFFFFF;
  --pte-success:#0E7C66;
  --pte-error:#B42318;
  --pte-container:1200px;
  --pte-narrow:760px;
  --pte-radius:16px;
  --pte-radius-sm:8px;
  --pte-shadow:0 2px 8px rgba(15,35,64,.06);
  --pte-shadow-lg:0 18px 40px rgba(15,35,64,.12);
  --pte-font:"Jost","Segoe UI",system-ui,-apple-system,Arial,sans-serif;
}

/* ------------------------------------------------------------------
   1. Page surface and base typography
------------------------------------------------------------------ */

.ptx-page{
  background:var(--pte-paper);
  color:var(--pte-body);
  font-family:var(--pte-font);
  font-size:1.125rem;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}

.ptx-page *,
.ptx-header *,
.ptx-footer *,
.ptx-overlay *{box-sizing:border-box;}

.ptx-page h1,.ptx-page h2,.ptx-page h3,.ptx-page h4,.ptx-page h5,.ptx-page h6{
  font-family:var(--pte-font);
  color:var(--pte-navy);
  letter-spacing:-.02em;
  margin:0 0 .5em;
  text-wrap:balance;
}
.ptx-page h1{font-size:clamp(2.25rem,4.2vw,3.75rem);font-weight:800;line-height:1.08}
.ptx-page h2{font-size:clamp(1.75rem,3vw,2.75rem);font-weight:800;line-height:1.15}
.ptx-page h3{font-size:clamp(1.125rem,1.6vw,1.5rem);font-weight:700;line-height:1.3;letter-spacing:-.01em}
.ptx-page h4{font-size:1.125rem;font-weight:700;line-height:1.35}

.ptx-page p,.ptx-page li{font-size:1.125rem;line-height:1.65}
.ptx-page p{margin:0 0 1rem}
.ptx-page strong{font-weight:700;color:var(--pte-ink)}
.ptx-page a{color:var(--pte-blue);text-decoration:underline;text-underline-offset:2px}
.ptx-page a:hover{color:var(--pte-blue-dark)}
.ptx-page img{max-width:100%;height:auto}
.ptx-page ul,.ptx-page ol{margin:0 0 1rem;padding-left:1.25rem}
.ptx-page li{margin:0 0 .4rem}

.ptx-page .wp-block-list.ptx-list{list-style:none;padding:0;margin:0}
.ptx-page .wp-block-list.ptx-list li{position:relative;padding-left:28px;margin-bottom:.55rem;color:var(--pte-body)}
.ptx-page .wp-block-list.ptx-list li:before{
  content:"";
  position:absolute;left:0;top:.45em;width:16px;height:16px;border-radius:50%;
  background:#FFF3BF;
  box-shadow:inset 0 0 0 1.5px var(--pte-yellow);
}

/* ------------------------------------------------------------------
   2. Layout primitives
------------------------------------------------------------------ */

.ptx-container{
  width:100%;
  max-width:var(--pte-container);
  margin-left:auto;
  margin-right:auto;
  padding-left:24px;
  padding-right:24px;
}
.ptx-container--narrow{max-width:var(--pte-narrow)}

.ptx-section{
  padding:96px 0;
  background:var(--pte-white);
}
.ptx-section--paper{background:var(--pte-paper)}
.ptx-section--dark{background:var(--pte-navy);color:#D9E2EE}
.ptx-section--dark h1,.ptx-section--dark h2,.ptx-section--dark h3{color:#fff}
.ptx-section--dark p,.ptx-section--dark li{color:#D9E2EE}
.ptx-section--dark a{color:var(--pte-yellow)}
.ptx-section--tight{padding:64px 0}
.ptx-section--flush{padding:0}

.ptx-grid{display:grid;gap:24px}
.ptx-grid--2{grid-template-columns:repeat(2,minmax(0,1fr))}
.ptx-grid--3{grid-template-columns:repeat(3,minmax(0,1fr))}
.ptx-grid--4{grid-template-columns:repeat(4,minmax(0,1fr))}

.ptx-split{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center}
.ptx-split--wide{grid-template-columns:1.15fr .85fr}

.ptx-section-head{max-width:720px;margin:0 0 44px}
.ptx-section-head--center{margin-left:auto;margin-right:auto;text-align:center}

.ptx-eyebrow{
  font-size:.75rem;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--pte-blue);
  margin:0 0 12px;
}
.ptx-section--dark .ptx-eyebrow,.ptx-hero .ptx-eyebrow,.ptx-cta .ptx-eyebrow{color:var(--pte-yellow)}

.ptx-lead{
  font-size:clamp(1.05rem,1.4vw,1.25rem);
  line-height:1.6;
  color:var(--pte-muted);
  margin:0;
}
.ptx-section--dark .ptx-lead,.ptx-hero .ptx-lead{color:#C9D6E6}

.ptx-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
.ptx-actions--center{justify-content:center}

/* ------------------------------------------------------------------
   3. Buttons
------------------------------------------------------------------ */

.ptx-page .wp-block-button__link,
.ptx-header .wp-block-button__link,
.ptx-overlay .wp-block-button__link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:48px;
  padding:14px 26px;
  border:0;
  border-radius:var(--pte-radius-sm);
  background:var(--pte-yellow);
  color:var(--pte-navy);
  font-family:var(--pte-font);
  font-size:1rem;
  font-weight:700;
  line-height:1.1;
  text-decoration:none;
  cursor:pointer;
  transition:background .2s ease,transform .2s ease,box-shadow .2s ease;
}
.ptx-page .wp-block-button__link:hover,
.ptx-header .wp-block-button__link:hover,
.ptx-overlay .wp-block-button__link:hover{
  background:var(--pte-yellow-dark);
  color:var(--pte-navy);
  transform:translateY(-1px);
  box-shadow:0 8px 18px rgba(0,0,0,.16);
}
.ptx-page .wp-block-button__link:focus-visible,
.ptx-header .wp-block-button__link:focus-visible,
.ptx-overlay .wp-block-button__link:focus-visible{
  outline:2px solid #fff;
  outline-offset:2px;
}

.ptx-page .wp-block-button.ptx-btn--ghost .wp-block-button__link{
  background:transparent;
  color:#fff;
  border:2px solid rgba(255,255,255,.5);
}
.ptx-page .wp-block-button.ptx-btn--ghost .wp-block-button__link:hover{
  background:rgba(255,255,255,.08);
  border-color:var(--pte-yellow);
  color:var(--pte-yellow);
}
.ptx-page .wp-block-button.ptx-btn--ghost-dark .wp-block-button__link{
  background:transparent;
  color:var(--pte-navy);
  border:2px solid var(--pte-navy);
}
.ptx-page .wp-block-button.ptx-btn--ghost-dark .wp-block-button__link:hover{
  background:var(--pte-navy);
  color:#fff;
}

.ptx-page .wp-block-button.ptx-btn--small .wp-block-button__link{
  min-height:44px;
  padding:11px 20px;
  font-size:.9375rem;
}

/* ------------------------------------------------------------------
   4. Header
------------------------------------------------------------------ */

header.wp-block-template-part{position:sticky;top:0;z-index:100}

.ptx-header{
  background:var(--pte-blue);
  color:#fff;
  padding:0;
  box-shadow:0 1px 0 rgba(255,255,255,.08);
}
.ptx-header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  min-height:80px;
}
.ptx-header__brand{flex:0 0 auto;display:flex;align-items:center;gap:12px}
.ptx-header__brand .wp-block-site-logo{line-height:0}
.ptx-header__brand img{max-height:40px;max-width:190px;width:auto;height:auto}
.ptx-header__nav{flex:1 1 auto;display:flex;justify-content:flex-end;min-width:0}
.ptx-header__nav .wp-block-navigation{width:100%;justify-content:flex-end}
.ptx-header__nav .wp-block-navigation__container{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:0;margin:0;padding:0;list-style:none}
.ptx-header__nav .wp-block-navigation-item{list-style:none}
.ptx-header__nav .wp-block-navigation-item__content{
  color:#fff;
  font-family:var(--pte-font);
  font-size:.875rem;
  font-weight:500;
  text-decoration:none;
  padding:9px 7px;
  border-radius:6px;
  display:inline-flex;
  align-items:center;
  min-height:40px;
}
.ptx-header__nav .wp-block-navigation-item__content:hover{color:var(--pte-yellow);background:rgba(255,255,255,.06)}
.ptx-header__nav .current-menu-item>.wp-block-navigation-item__content,
.ptx-header__nav .wp-block-navigation-item.current-menu-item .wp-block-navigation-item__content{
  box-shadow:inset 0 -2px 0 var(--pte-yellow);
}
.ptx-header__phone{margin:0;white-space:nowrap;font-size:.85rem;font-weight:600}
.ptx-header__phone a{color:#fff;text-decoration:none}
.ptx-header__phone a:hover{color:var(--pte-yellow)}
.ptx-header__phone-icon{
  display:none;
  align-items:center;
  justify-content:center;
  width:44px;height:44px;
  border-radius:8px;
  color:#fff;
  background:rgba(255,255,255,.1);
  text-decoration:none;
}
.ptx-header__phone-icon:hover{color:var(--pte-yellow);text-decoration:none}
.ptx-header__phone-icon svg{width:22px;height:22px;display:block}
.ptx-header__cta{margin:0}
.ptx-header__cta .wp-block-button__link{min-height:40px;padding:9px 14px;font-size:.85rem}

/* Mobile header: logo, phone icon, hamburger. No text conflict. */
@media (max-width:1024px){
  .ptx-header__inner{min-height:64px;gap:10px}
  .ptx-header__brand img{max-height:30px;max-width:60vw;width:auto}
  .ptx-header__phone{display:none}
  .ptx-header__phone-icon{display:inline-flex;order:2}
  .ptx-header__cta{display:none}
  .ptx-header__nav{order:3;flex:0 0 auto}
  .ptx-header__nav .wp-block-navigation__container{display:none}
  .ptx-header__nav .wp-block-navigation__responsive-container-open{
    display:inline-flex;align-items:center;justify-content:center;
    width:44px;height:44px;border-radius:8px;background:rgba(255,255,255,.1);
    color:#fff;padding:0;
  }
  .ptx-header__nav .wp-block-navigation__responsive-container-open svg{width:24px;height:24px}
}

/* ------------------------------------------------------------------
   5. Navigation overlay
------------------------------------------------------------------ */

.ptx-overlay{
  background:var(--pte-navy);
  color:#fff;
  min-height:100vh;
  padding:28px 0 40px;
}
.ptx-overlay__inner{display:flex;flex-direction:column;min-height:calc(100vh - 68px);gap:32px}
.ptx-overlay__top{display:flex;align-items:center;justify-content:space-between;gap:16px}
.ptx-overlay__brand img{max-height:38px;width:auto}
.ptx-overlay__nav .wp-block-navigation__container{display:flex;flex-direction:column;gap:6px;width:100%}
.ptx-overlay__nav .wp-block-navigation-item__content{
  color:#fff;
  font-family:var(--pte-font);
  font-size:clamp(1.5rem,4vw,2.25rem);
  font-weight:700;
  text-decoration:none;
  padding:8px 0;
  display:block;
}
.ptx-overlay__nav .wp-block-navigation-item__content:hover{color:var(--pte-yellow)}
.ptx-overlay__foot{margin-top:auto;display:flex;flex-direction:column;gap:16px;padding-top:24px;border-top:1px solid rgba(255,255,255,.14)}
.ptx-overlay__phone{margin:0;font-size:1.25rem;font-weight:700}
.ptx-overlay__phone a{color:#fff;text-decoration:none}
.ptx-overlay__note{margin:0;color:#AFC2D8;font-size:.875rem}

/* ------------------------------------------------------------------
   6. Footer
------------------------------------------------------------------ */

.ptx-footer{background:var(--pte-navy);color:#C9D6E6;padding:64px 0 24px;font-family:var(--pte-font)}
.ptx-footer h2,.ptx-footer h3{
  color:#fff;
  font-size:.75rem;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
  margin:0 0 16px;
}
.ptx-footer p,.ptx-footer li{font-size:.9375rem;line-height:1.7;color:#C9D6E6}
.ptx-footer a{color:#C9D6E6;text-decoration:none}
.ptx-footer a:hover{color:var(--pte-yellow);text-decoration:underline}
.ptx-footer__grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:40px}
.ptx-footer__brand .wp-block-site-title{font-size:1.35rem;font-weight:800;color:#fff;margin:0 0 14px}
.ptx-footer__brand .wp-block-site-title a{color:#fff;text-decoration:none}
.ptx-footer__contact{margin-top:14px}
.ptx-footer__contact p{margin:0 0 4px}
.ptx-footer__nav .wp-block-navigation__container{display:flex;flex-direction:column;gap:8px;align-items:flex-start}
.ptx-footer__nav .wp-block-navigation-item__content{font-size:.9375rem;padding:0}
.ptx-footer__bottom{
  border-top:1px solid rgba(255,255,255,.12);
  margin-top:44px;
  padding-top:20px;
  display:flex;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
  font-size:.8125rem;
  color:#8FA6BF;
}

/* ------------------------------------------------------------------
   7. Hero
------------------------------------------------------------------ */

.ptx-hero{
  background:
    radial-gradient(900px 420px at 90% 0%,rgba(0,106,255,.38),transparent 60%),
    linear-gradient(155deg,#0B1B33 0%,var(--pte-navy) 55%,#14304F 100%);
  color:#fff;
  padding:72px 0 80px;
}
.ptx-hero__inner{display:grid;grid-template-columns:1.05fr .95fr;gap:56px;align-items:center}
.ptx-hero__copy{max-width:620px}
.ptx-hero__title{color:#fff;margin-bottom:18px}
.ptx-hero__lead{color:#C9D6E6;font-size:clamp(1.05rem,1.5vw,1.25rem)}
.ptx-hero__media figure{margin:0}
.ptx-hero__media img{
  width:100%;
  aspect-ratio:4/3;
  object-fit:cover;
  border-radius:18px;
  box-shadow:var(--pte-shadow-lg);
}
.ptx-hero__media figcaption{color:#8FA6BF;font-size:.75rem;margin-top:8px;text-align:right}

.ptx-trust{display:flex;flex-wrap:wrap;gap:10px;margin-top:28px}
.ptx-trust__item{
  margin:0;
  font-size:.8125rem;
  font-weight:600;
  color:#DCE7F5;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.16);
  border-radius:999px;
  padding:7px 12px;
  line-height:1.2;
}
.ptx-trust__item:before{content:"✓";color:var(--pte-yellow);font-weight:800;margin-right:7px}

.ptx-hero--compact{padding:56px 0 60px}
.ptx-hero--compact .ptx-hero__inner{grid-template-columns:1fr;max-width:820px}
.ptx-hero--compact .ptx-hero__copy{max-width:820px}

/* Hero with form */
.ptx-hero__inner--form{grid-template-columns:1.05fr .95fr;align-items:start}
.ptx-form-card{
  background:#fff;
  color:var(--pte-body);
  border-radius:var(--pte-radius);
  padding:28px;
  box-shadow:var(--pte-shadow-lg);
}
.ptx-form-card h2,.ptx-form-card h3{color:var(--pte-navy);margin-bottom:6px}
.ptx-form-card p{font-size:.9375rem;color:var(--pte-muted)}
.ptx-form-card .wpforms-form{font-family:var(--pte-font)}

/* ------------------------------------------------------------------
   8. Cards
------------------------------------------------------------------ */

.ptx-card{
  background:#fff;
  border:1px solid var(--pte-line);
  border-radius:var(--pte-radius);
  padding:28px;
  display:flex;
  flex-direction:column;
  gap:12px;
  height:100%;
  box-shadow:var(--pte-shadow);
}
.ptx-card--flat{box-shadow:none}
.ptx-card--dark{background:var(--pte-navy-2);border-color:transparent}
.ptx-card--dark h3,.ptx-card--dark .ptx-card__title{color:#fff}
.ptx-card--dark p,.ptx-card--dark .ptx-card__text{color:#C9D6E6}

.ptx-card__media{margin:0 0 4px}
.ptx-card__media img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:12px}
.ptx-card__icon{
  width:48px;height:48px;border-radius:12px;
  background:#FFF8DA;color:var(--pte-navy);
  display:inline-flex;align-items:center;justify-content:center;
  margin-bottom:2px;
}
.ptx-card__icon svg{width:24px;height:24px;display:block}
.ptx-card__title{margin:0;font-size:1.25rem}
.ptx-card__text{font-size:1rem;color:var(--pte-muted);margin:0;line-height:1.6}
.ptx-card__link{margin:auto 0 0;padding-top:8px}
.ptx-arrow{font-weight:700;color:var(--pte-blue);text-decoration:none;font-size:.9375rem}
.ptx-arrow:hover{color:var(--pte-blue-dark);text-decoration:underline}

.ptx-card--media{padding:0;overflow:hidden}
.ptx-card--media .ptx-card__body{padding:24px 28px 28px;display:flex;flex-direction:column;gap:12px;height:100%}
.ptx-card--media .ptx-card__media img{border-radius:0;aspect-ratio:16/9}

/* ------------------------------------------------------------------
   9. Stats, steps, CTA
------------------------------------------------------------------ */

.ptx-stats{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid rgba(255,255,255,.16);margin-top:8px}
.ptx-stats--3{grid-template-columns:repeat(3,1fr)}
.ptx-stats--2{grid-template-columns:repeat(2,1fr)}
.ptx-stat{padding:26px 22px;border-right:1px solid rgba(255,255,255,.12)}
.ptx-stat:last-child{border-right:0}
.ptx-stat__num{
  margin:0;
  font-size:clamp(2rem,3.2vw,2.75rem);
  font-weight:800;
  line-height:1;
  color:var(--pte-yellow);
  letter-spacing:-.03em;
}
.ptx-stat__label{
  margin:9px 0 0;
  font-size:.75rem;
  font-weight:600;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#AFC2D8;
  line-height:1.4;
}

.ptx-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.ptx-step{
  background:#fff;
  border:1px solid var(--pte-line);
  border-radius:var(--pte-radius);
  padding:28px;
  position:relative;
}
.ptx-step__num{
  margin:0 0 12px;
  font-size:.75rem;
  font-weight:800;
  letter-spacing:.14em;
  color:var(--pte-blue);
  text-transform:uppercase;
}
.ptx-step h3{font-size:1.25rem;margin-bottom:8px}
.ptx-step p{font-size:1rem;color:var(--pte-muted);margin:0}

.ptx-cta{
  background:
    radial-gradient(800px 320px at 85% 10%,rgba(0,106,255,.28),transparent 65%),
    var(--pte-navy);
  padding:80px 0;
  text-align:center;
}
.ptx-cta__title{color:#fff;max-width:820px;margin:0 auto 12px}
.ptx-cta__text{color:#C9D6E6;max-width:640px;margin:0 auto}
.ptx-cta .ptx-actions{justify-content:center}

/* ------------------------------------------------------------------
   10. FAQ
------------------------------------------------------------------ */

.ptx-faq{max-width:840px;margin:0 auto}
.ptx-faq__item{
  background:transparent;
  border:0;
  border-bottom:1px solid var(--pte-line);
  border-radius:0;
  padding:0;
}
.ptx-faq__item summary{
  list-style:none;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:22px 0;
  font-family:var(--pte-font);
  font-size:1.125rem;
  font-weight:700;
  color:var(--pte-navy);
}
.ptx-faq__item summary::-webkit-details-marker{display:none}
.ptx-faq__item summary:after{
  content:"+";
  flex:0 0 auto;
  font-size:1.5rem;
  font-weight:400;
  color:var(--pte-blue);
  line-height:1;
}
.ptx-faq__item[open] summary:after{content:"–"}
.ptx-faq__item p{
  margin:0;
  padding:0 0 22px;
  max-width:760px;
  color:var(--pte-muted);
  font-size:1rem;
}
.ptx-section--dark .ptx-faq__item{border-bottom-color:rgba(255,255,255,.16)}
.ptx-section--dark .ptx-faq__item summary{color:#fff}
.ptx-section--dark .ptx-faq__item p{color:#C9D6E6}

/* ------------------------------------------------------------------
   11. Forms (WPForms scoped)
------------------------------------------------------------------ */

.ptx-form-card .wpforms-field{padding:0 0 16px}
.ptx-form-card .wpforms-field-label{
  font-family:var(--pte-font);
  font-size:.875rem;
  font-weight:600;
  color:var(--pte-navy);
  margin-bottom:6px;
}
.ptx-form-card .wpforms-field-label .wpforms-required-label{color:var(--pte-error)}
.ptx-form-card .wpforms-field input[type=text],
.ptx-form-card .wpforms-field input[type=email],
.ptx-form-card .wpforms-field input[type=tel],
.ptx-form-card .wpforms-field input[type=number],
.ptx-form-card .wpforms-field input[type=url],
.ptx-form-card .wpforms-field select,
.ptx-form-card .wpforms-field textarea{
  width:100%;
  min-height:48px;
  padding:11px 14px;
  border:1px solid var(--pte-line);
  border-radius:var(--pte-radius-sm);
  background:#fff;
  color:var(--pte-ink);
  font-family:var(--pte-font);
  font-size:1rem;
  line-height:1.4;
  box-shadow:none;
  transition:border-color .2s ease,box-shadow .2s ease;
}
.ptx-form-card .wpforms-field textarea{min-height:140px;resize:vertical}
.ptx-form-card .wpforms-field input:focus,
.ptx-form-card .wpforms-field select:focus,
.ptx-form-card .wpforms-field textarea:focus{
  border-color:var(--pte-blue);
  outline:none;
  box-shadow:0 0 0 3px rgba(0,106,255,.16);
}
.ptx-form-card .wpforms-submit{
  width:100%;
  min-height:52px;
  border:0;
  border-radius:var(--pte-radius-sm);
  background:var(--pte-yellow);
  color:var(--pte-navy);
  font-family:var(--pte-font);
  font-size:1rem;
  font-weight:800;
  cursor:pointer;
  padding:14px 24px;
}
.ptx-form-card .wpforms-submit:hover{background:var(--pte-yellow-dark)}
.ptx-form-card .wpforms-field-description,
.ptx-form-card .wpforms-field-sublabel{font-size:.8125rem;color:var(--pte-muted)}
.ptx-form-note{margin:14px 0 0;font-size:.8125rem;color:var(--pte-muted);text-align:center}

/* ------------------------------------------------------------------
   12. Legal pages
------------------------------------------------------------------ */

.ptx-legal-hero{background:var(--pte-navy);color:#fff;padding:56px 0 48px}
.ptx-legal-hero .wp-block-post-title{
  color:#fff;
  font-size:clamp(2rem,3.4vw,3rem);
  margin:0 0 10px;
}
.ptx-legal-hero p{color:#AFC2D8;margin:0;font-size:.9375rem}

.ptx-legal{background:#fff;padding:64px 0 96px}
.ptx-legal__grid{display:grid;grid-template-columns:260px minmax(0,1fr);gap:56px;align-items:start}
.ptx-legal__toc{position:sticky;top:104px}
.ptx-legal__toc p{margin:0 0 10px;font-size:.75rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--pte-muted)}
.ptx-legal__toc a{
  display:block;
  padding:7px 0 7px 12px;
  border-left:2px solid var(--pte-line);
  color:var(--pte-muted);
  font-size:.9375rem;
  text-decoration:none;
  line-height:1.4;
}
.ptx-legal__toc a:hover{color:var(--pte-navy);border-left-color:var(--pte-yellow)}
.ptx-legal__body{max-width:760px}
.ptx-legal__body h2{
  font-size:1.75rem;
  margin:2.4rem 0 .8rem;
  padding-top:.2rem;
  scroll-margin-top:110px;
}
.ptx-legal__body h2:first-child{margin-top:0}
.ptx-legal__body h3{font-size:1.25rem;margin:1.8rem 0 .6rem;scroll-margin-top:110px}
.ptx-legal__body p,.ptx-legal__body li{font-size:1rem;line-height:1.7;color:var(--pte-body)}
.ptx-legal__body ul{padding-left:1.2rem;margin:0 0 1.2rem}
.ptx-legal__body li{margin-bottom:.45rem}
.ptx-legal__meta{font-size:.875rem;color:var(--pte-muted);margin-bottom:2rem}

/* ------------------------------------------------------------------
   13. Blog index
------------------------------------------------------------------ */

.ptx-blog-hero{
  background:linear-gradient(155deg,#0B1B33,var(--pte-navy) 60%,#14304F);
  color:#fff;
  padding:64px 0 48px;
}
.ptx-blog-hero h1{color:#fff;max-width:900px;margin:0 0 14px}
.ptx-blog-hero .ptx-lead{color:#C9D6E6;max-width:760px}
.ptx-blog-cats{display:flex;flex-wrap:wrap;gap:8px;margin-top:26px}
.ptx-blog-cats a{
  display:inline-flex;align-items:center;min-height:38px;padding:8px 14px;
  border-radius:999px;border:1px solid rgba(255,255,255,.22);
  color:#fff;font-size:.875rem;font-weight:600;text-decoration:none;
}
.ptx-blog-cats a:hover{background:var(--pte-yellow);border-color:var(--pte-yellow);color:var(--pte-navy)}

.ptx-blog-query{margin:0}
.ptx-page .wp-block-post-template.ptx-blog-grid{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:28px;
}
.ptx-page .ptx-blog-grid>li{margin:0;display:flex}
.ptx-post-card{
  display:flex;flex-direction:column;gap:12px;height:100%;
  background:#fff;border:1px solid var(--pte-line);border-radius:var(--pte-radius);
  overflow:hidden;padding:0;box-shadow:var(--pte-shadow);
}
.ptx-post-card__media{margin:0}
.ptx-post-card__media img{width:100%;aspect-ratio:16/10;object-fit:cover;display:block}
.ptx-post-card__body{display:flex;flex-direction:column;gap:10px;padding:22px 24px 24px;height:100%}
.ptx-post-card__cat{margin:0;font-size:.75rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase}
.ptx-post-card__cat a{color:var(--pte-blue);text-decoration:none}
.ptx-post-card__title{margin:0;font-size:1.2rem;line-height:1.3}
.ptx-post-card__title a{color:var(--pte-navy);text-decoration:none}
.ptx-post-card__title a:hover{color:var(--pte-blue)}
.ptx-post-card__excerpt{margin:0;font-size:.9375rem;color:var(--pte-muted);line-height:1.6}
.ptx-post-card__date{margin:auto 0 0;padding-top:8px;font-size:.8125rem;color:var(--pte-muted)}
.ptx-page .ptx-blog-grid>li:first-child{grid-column:span 2}
.ptx-page .ptx-blog-grid>li:first-child .ptx-post-card{flex-direction:row}
.ptx-page .ptx-blog-grid>li:first-child .ptx-post-card__media{flex:1 1 55%}
.ptx-page .ptx-blog-grid>li:first-child .ptx-post-card__media img{height:100%;aspect-ratio:auto}
.ptx-page .ptx-blog-grid>li:first-child .ptx-post-card__body{flex:1 1 45%;justify-content:center;padding:28px}
.ptx-page .ptx-blog-grid>li:first-child .ptx-post-card__title{font-size:clamp(1.4rem,2vw,1.9rem)}

.ptx-page .wp-block-query-pagination{
  display:flex;justify-content:center;gap:8px;margin-top:44px;
}
.ptx-page .wp-block-query-pagination a,
.ptx-page .wp-block-query-pagination .page-numbers{
  display:inline-flex;align-items:center;justify-content:center;
  min-width:44px;height:44px;padding:0 12px;border-radius:8px;
  border:1px solid var(--pte-line);background:#fff;color:var(--pte-navy);
  text-decoration:none;font-weight:600;font-size:.9375rem;
}
.ptx-page .wp-block-query-pagination .current{background:var(--pte-navy);border-color:var(--pte-navy);color:#fff}
.ptx-page .wp-block-query-pagination a:hover{border-color:var(--pte-blue);color:var(--pte-blue)}

/* ------------------------------------------------------------------
   13b. On-page table of contents
------------------------------------------------------------------ */

.ptx-toc{
  display:flex;flex-wrap:wrap;align-items:center;gap:10px;
  margin:0 0 40px;padding-bottom:20px;border-bottom:1px solid var(--pte-line);
}
.ptx-toc__label{
  margin:0;font-size:.75rem;font-weight:800;letter-spacing:.12em;
  text-transform:uppercase;color:var(--pte-muted);
}
.ptx-toc nav{display:flex;flex-wrap:wrap;gap:8px}
.ptx-toc a{
  display:inline-flex;align-items:center;min-height:36px;padding:6px 12px;
  border-radius:999px;border:1px solid var(--pte-line);background:#fff;
  color:var(--pte-navy);font-size:.8125rem;font-weight:600;text-decoration:none;
}
.ptx-toc a:hover{border-color:var(--pte-blue);color:var(--pte-blue);text-decoration:none}

.ptx-note{margin:32px 0 0;font-size:1rem;line-height:1.65;color:var(--pte-muted);max-width:860px}
.ptx-note a{color:var(--pte-blue);font-weight:600;text-decoration:none}
.ptx-note a:hover{text-decoration:underline}

/* ------------------------------------------------------------------
   14. Utilities
------------------------------------------------------------------ */

.ptx-center{text-align:center}
.ptx-mt-0{margin-top:0}
.ptx-mb-0{margin-bottom:0}
.ptx-mt-32{margin-top:32px}
.ptx-mt-48{margin-top:48px}
.ptx-hide-mobile{display:block}
.ptx-show-mobile{display:none}
.ptx-img-rounded img{border-radius:var(--pte-radius)}
.ptx-figure{margin:0}
.ptx-figure img{width:100%;border-radius:var(--pte-radius);display:block}
.ptx-figure figcaption{font-size:.8125rem;color:var(--pte-muted);margin-top:8px}

/* ------------------------------------------------------------------
   15. Responsive
------------------------------------------------------------------ */

@media (max-width:1024px){
  .ptx-container{padding-left:20px;padding-right:20px}
  .ptx-section{padding:72px 0}
  .ptx-hero{padding:56px 0 64px}
  .ptx-hero__inner,.ptx-hero__inner--form,.ptx-split,.ptx-split--wide{grid-template-columns:1fr;gap:36px}
  .ptx-hero__copy{max-width:none}
  .ptx-hero__media{order:-1}
  .ptx-hero__media img{aspect-ratio:16/9}
  .ptx-grid--4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ptx-grid--3{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ptx-stats{grid-template-columns:repeat(2,1fr)}
  .ptx-stat:nth-child(2){border-right:0}
  .ptx-stat:nth-child(1),.ptx-stat:nth-child(2){border-bottom:1px solid rgba(255,255,255,.12)}
  .ptx-steps{grid-template-columns:1fr}
  .ptx-footer__grid{grid-template-columns:1fr 1fr;gap:32px}
  .ptx-legal__grid{grid-template-columns:1fr;gap:28px}
  .ptx-legal__toc{position:static;display:none}
  .ptx-page .wp-block-post-template.ptx-blog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ptx-page .ptx-blog-grid>li:first-child{grid-column:span 2}
  .ptx-page .ptx-blog-grid>li:first-child .ptx-post-card{flex-direction:column}
  .ptx-page .ptx-blog-grid>li:first-child .ptx-post-card__media img{aspect-ratio:16/9;height:auto}
}

@media (max-width:782px){
  .ptx-page{font-size:1.0625rem}
  .ptx-page h1{font-size:clamp(2rem,8vw,2.6rem)}
  .ptx-page h2{font-size:clamp(1.55rem,6vw,2rem)}
  .ptx-page p,.ptx-page li{font-size:1.0625rem}
  .ptx-section{padding:56px 0}
  .ptx-section--tight{padding:44px 0}
  .ptx-hero{padding:40px 0 52px}
  .ptx-grid--2,.ptx-grid--3,.ptx-grid--4{grid-template-columns:1fr}
  .ptx-stats{grid-template-columns:1fr}
  .ptx-stat{border-right:0;border-bottom:1px solid rgba(255,255,255,.12);padding:20px 0}
  .ptx-stat:last-child{border-bottom:0}
  .ptx-card{padding:22px}
  .ptx-section-head{margin-bottom:32px}
  .ptx-page .wp-block-post-template.ptx-blog-grid{grid-template-columns:1fr}
  .ptx-page .ptx-blog-grid>li:first-child{grid-column:span 1}
  .ptx-footer{padding:48px 0 20px}
  .ptx-footer__grid{grid-template-columns:1fr}
  .ptx-footer__bottom{flex-direction:column;gap:8px}
  .ptx-actions .wp-block-button{width:100%}
  .ptx-actions .wp-block-button__link{width:100%}
  .ptx-form-card{padding:20px}
  .ptx-hero__media{order:0}
}

@media (prefers-reduced-motion:reduce){
  .ptx-page *,.ptx-header *,.ptx-overlay *{transition:none!important;animation:none!important;scroll-behavior:auto!important}
}

/* ------------------------------------------------------------------
   17. Component details and dark-surface corrections
------------------------------------------------------------------ */

.ptx-page .ptx-hero__title{color:#fff}
.ptx-page .ptx-cta__title{color:#fff}
.ptx-page .ptx-blog-hero h1{color:#fff}

.ptx-split__copy{max-width:620px}

.ptx-contact-list{list-style:none;margin:30px 0 0;padding:0;display:grid;gap:16px}
.ptx-contact-list li{display:flex;gap:14px;align-items:flex-start;margin:0;font-size:1rem;line-height:1.55;color:#D9E2EE}
.ptx-contact-list strong{color:#fff;font-weight:700}
.ptx-contact-list a{color:#fff;text-decoration:none}
.ptx-contact-list a:hover{color:var(--pte-yellow);text-decoration:underline}
.ptx-contact-list__icon{
  flex:0 0 44px;width:44px;height:44px;border-radius:10px;
  background:rgba(255,255,255,.1);color:var(--pte-yellow);
  display:inline-flex;align-items:center;justify-content:center;
}
.ptx-contact-list__icon svg{width:22px;height:22px;display:block}

.ptx-form-card__intro{margin-bottom:18px}

.ptx-trust--center{justify-content:center;text-align:center;max-width:fit-content;margin-left:auto;margin-right:auto}
.ptx-section--dark .ptx-trust__item{color:#DCE7F5}

.ptx-next-steps{display:grid;gap:24px;align-content:start}
.ptx-next-steps .ptx-steps{grid-template-columns:1fr}
.ptx-step__text{margin:0;font-size:1rem;color:var(--pte-muted)}

.ptx-quote{max-width:860px;margin:0 auto 40px;text-align:center}
.ptx-quote__text{
  font-size:clamp(1.25rem,2.2vw,1.75rem);line-height:1.45;font-weight:500;
  color:#fff;margin:0 0 14px;
}
.ptx-quote__author{margin:0;font-size:.9375rem;color:var(--pte-yellow);font-weight:600}

.ptx-section--dark .ptx-card h1,
.ptx-section--dark .ptx-card h2,
.ptx-section--dark .ptx-card h3,
.ptx-section--dark .ptx-card h4,
.ptx-section--dark .ptx-step h3{color:var(--pte-navy)}
.ptx-section--dark .ptx-card p,
.ptx-section--dark .ptx-card li,
.ptx-section--dark .ptx-step p{color:var(--pte-muted)}
.ptx-section--dark .ptx-card .ptx-card__text{color:var(--pte-muted)}
.ptx-section--dark .ptx-card .ptx-arrow{color:var(--pte-blue)}
.ptx-section--dark .ptx-stat__num{color:var(--pte-yellow)}
.ptx-section--dark .ptx-stat__label{color:#AFC2D8}

.ptx-page .ptx-legal-hero .wp-block-post-title{color:#fff}

@media (max-width:782px){
  .ptx-contact-list{margin-top:22px}
}

/* ------------------------------------------------------------------
   16. Editor compatibility
------------------------------------------------------------------ */

.editor-styles-wrapper .ptx-page{background:var(--pte-paper)}
.editor-styles-wrapper .ptx-page p{font-family:var(--pte-font)}

/* ------------------------------------------------------------------
   18. Header and WPForms cleanup
------------------------------------------------------------------ */

/* A menu-level CTA must not render as a second header row. */
.ptx-header__nav .wp-block-navigation__responsive-container-content > .wp-block-buttons{display:none}

/* Show real labels above the fields. */
.ptx-form-card .wpforms-field-label{
  display:block;font-size:.875rem;font-weight:600;color:var(--pte-navy);
  margin:0 0 6px;line-height:1.35;
}
.ptx-form-card .wpforms-field-label.wpforms-label-hide{
  position:static!important;width:auto!important;height:auto!important;clip:auto!important;
  overflow:visible!important;white-space:normal!important;display:block!important;
}
.ptx-form-card .wpforms-field input::placeholder,
.ptx-form-card .wpforms-field textarea::placeholder{color:transparent}

/* Legacy duplicate fields left in the two WPForms forms. */
.ptx-form-card #wpforms-306-field_5-container,
.ptx-form-card #wpforms-306-field_3-container,
.ptx-form-card #wpforms-306-field_6-container,
.ptx-form-card #wpforms-1809-field_3-container,
.ptx-form-card #wpforms-1809-field_5-container{display:none!important}

/* WPForms prints its own ID-level display rules for the two empty legacy fields. */
.ptx-form-card .wpforms-field-container > #wpforms-306-field_6-container,
.ptx-form-card .wpforms-field-container > #wpforms-1809-field_5-container{display:none!important}

/* Form 306 labels its phone field "Numbers". Present it as Phone. */
.ptx-form-card #wpforms-306-field_4-container .wpforms-field-label{font-size:0}
.ptx-form-card #wpforms-306-field_4-container .wpforms-field-label::before{content:"Phone";font-size:.875rem}
.ptx-form-card #wpforms-306-field_4-container .wpforms-field-label .wpforms-required-label{font-size:.875rem}

/* ------------------------------------------------------------------
   19. Blog card rhythm
------------------------------------------------------------------ */

.ptx-post-card__media{aspect-ratio:16/10;background:var(--pte-paper);overflow:hidden}
.ptx-post-card__media img{width:100%;height:100%;object-fit:cover;aspect-ratio:auto}
.ptx-post-card__title{
  display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;
  overflow:hidden;
}
.ptx-post-card__excerpt{
  display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;
  overflow:hidden;
}
.ptx-page .ptx-blog-grid>li:first-child .ptx-post-card{flex-direction:row;align-items:stretch}
.ptx-page .ptx-blog-grid>li:first-child .ptx-post-card__media{flex:0 0 58%;aspect-ratio:16/10;height:auto}
.ptx-page .ptx-blog-grid>li:first-child .ptx-post-card__media img{height:100%;width:100%;object-fit:cover}
.ptx-page .ptx-blog-grid>li:first-child .ptx-post-card__body{flex:1 1 42%;justify-content:center;padding:28px}
.ptx-page .ptx-blog-grid>li:first-child .ptx-post-card__title{font-size:clamp(1.4rem,2vw,1.9rem)}

@media (max-width:1024px){
  .ptx-page .ptx-blog-grid>li:first-child .ptx-post-card{flex-direction:column}
  .ptx-page .ptx-blog-grid>li:first-child .ptx-post-card__media{flex:0 0 auto;width:100%;aspect-ratio:16/9}
  .ptx-page .ptx-blog-grid>li:first-child .ptx-post-card__body{flex:1 1 auto}
}

@media (max-width:782px){
  .ptx-page .ptx-blog-grid>li:first-child{grid-column:span 1}
}

/* Mobile header lock: hide the CTA, keep a 44px phone target. */
@media (max-width:1024px){
  .ptx-header__cta.wp-block-buttons{display:none!important}
  .ptx-header__phone-icon{
    display:inline-flex!important;width:44px!important;height:44px!important;
    flex:0 0 44px!important;order:2;
  }
}

/* Final blog grid: uniform cards, one-line categories, clamped copy. */
.ptx-post-card__cat{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-height:1.5em}
.ptx-page .ptx-blog-grid>li:first-child{grid-column:auto}
.ptx-page .ptx-blog-grid>li:first-child .ptx-post-card{flex-direction:column}
.ptx-page .ptx-blog-grid>li:first-child .ptx-post-card__media{flex:0 0 auto;width:100%;aspect-ratio:16/10}
.ptx-page .ptx-blog-grid>li:first-child .ptx-post-card__body{flex:1 1 auto;padding:22px 24px 24px}
.ptx-page .ptx-blog-grid>li:first-child .ptx-post-card__title{font-size:1.2rem}


