/*
 * Migration-specific layout corrections.
 * Keep GHL's outer builder wrappers fluid while allowing each page's
 * intentional inner .container rules to control readable content widths.
 */
.primex-content,
.primex-content > .content-wrapper,
.primex-content .c-section,
.primex-content .c-section > .inner,
.primex-content .c-row,
.primex-content .c-row > .inner,
.primex-content .c-column,
.primex-content .c-column > .inner,
.primex-content .c-custom-code,
.primex-content .custom-code-container {
  width: 100% !important;
  max-width: none !important;
}

.primex-content > .content-wrapper {
  margin: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Readability baseline for PrimeX's dark page designs. */
.primex-content h1,
.primex-content h2,
.primex-content h3,
.primex-content h4,
.primex-content h5,
.primex-content h6 {
  color: #ffffff !important;
  -webkit-text-fill-color: currentColor !important;
  opacity: 1 !important;
}

.primex-content p,
.primex-content li,
.primex-content label,
.primex-content address,
.primex-content figcaption {
  color: #d4d4d8 !important;
  opacity: 1 !important;
}

.primex-content small,
.primex-content .fineprint,
.primex-content .subtitle,
.primex-content .eyebrow {
  color: #b8b8c2 !important;
  opacity: 1 !important;
}

.primex-content a {
  text-underline-offset: 0.18em;
}

.primex-content a:focus-visible,
.primex-content button:focus-visible,
.primex-content input:focus-visible,
.primex-content textarea:focus-visible,
.primex-content select:focus-visible {
  outline: 3px solid #c084fc;
  outline-offset: 3px;
}

.primex-content .cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.primex-content .btn,
.primex-content a.btn,
.primex-content button.btn,
.primex-content input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  width: auto;
  padding: 0.85rem 1.5rem !important;
  color: #ffffff !important;
  border: 2px solid transparent;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  opacity: 1 !important;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.primex-content .btn-primary {
  background: linear-gradient(135deg, #a020f0, #7e22ce) !important;
  border-color: #a855f7 !important;
  box-shadow: 0 10px 26px rgba(160, 32, 240, 0.3);
}

.primex-content .btn-secondary {
  background: rgba(18, 12, 24, 0.92) !important;
  border-color: #a020f0 !important;
  box-shadow: inset 0 0 0 1px rgba(192, 132, 252, 0.12);
}

.primex-content .btn:hover,
.primex-content .btn:focus-visible,
.primex-content input[type="submit"]:hover,
.primex-content input[type="submit"]:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(160, 32, 240, 0.4);
}

.primex-content .btn:active,
.primex-content input[type="submit"]:active {
  transform: translateY(0);
}

@media (max-width: 640px) {
  .primex-content .cta-row {
    align-items: stretch;
    flex-direction: column;
  }

  .primex-content .cta-row .btn {
    width: 100%;
  }
}

.primex-content input,
.primex-content textarea,
.primex-content select {
  color: #ffffff;
}

.primex-content input::placeholder,
.primex-content textarea::placeholder {
  color: #a1a1aa;
  opacity: 1;
}

/* -------------------------------------------------------
   Responsive Table Handling
   Prevents tables from overflowing the viewport on mobile.
------------------------------------------------------- */
.primex-content table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}

.primex-content table th,
.primex-content table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid #222;
}

.primex-content table th {
  background: rgba(160, 32, 240, 0.1);
  color: #ffffff;
  font-weight: 600;
}

.primex-content table td {
  color: #d4d4d8;
}

.primex-content table tr:hover td {
  background: rgba(160, 32, 240, 0.05);
}

@media (max-width: 640px) {
  .primex-content .table-wrapper,
  .primex-content .table-responsive,
  .primex-content table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .primex-content table th,
  .primex-content table td {
    padding: 0.5rem 0.5rem;
    font-size: 0.875rem;
    white-space: nowrap;
  }
}

/* -------------------------------------------------------
   Header Clearance — Fixed-Header Offset
   The global header is position:fixed (z-index:9999).
   Per-page CSS files reset .primex-content padding to 0,
   which pushes first-section content under the header.
   This override restores header clearance at the highest
   CSS priority (migration-overrides.css is loaded last)
   and ensures content is never hidden behind the header.
------------------------------------------------------- */
.primex-content {
  padding-top: 140px !important;
}

/* Desktop (901px+) — full header height */
@media (min-width: 901px) {
  .primex-content {
    padding-top: 140px !important;
  }
}

/* Mobile (up to 900px) — shorter header with hamburger */
@media (max-width: 900px) {
  .primex-content {
    padding-top: 70px !important;
  }
}

/* Small mobile (up to 640px) — compact header */
@media (max-width: 640px) {
  .primex-content {
    padding-top: 60px !important;
  }
}

/* Hero sections with their own background should not double-pad.
   Their internal padding handles the visual offset. */
.primex-content > .hero:first-child,
.primex-content > .hero-section:first-child,
.primex-content > .about-hero:first-child,
.primex-content > section:first-child > .hero,
.primex-content > section:first-child > .hero-section,
.primex-content > div:first-child > .hero,
.primex-content > div:first-child > .hero-section {
  padding-top: 0 !important;
}

/* -------------------------------------------------------
   Empty GHL Paragraph/Wrapper Cleanup
   Collapses visible blank space from empty GHL builder elements.
------------------------------------------------------- */
.primex-content p:empty,
.primex-content .c-column:empty,
.primex-content .c-row:empty,
.primex-content .c-section > .inner:empty {
  display: none;
}

/* -------------------------------------------------------
   Iframe Responsive Wrapper
   Ensures embedded videos and forms scale properly.
------------------------------------------------------- */
.primex-content iframe {
  max-width: 100%;
  border: none;
}

.primex-content .hs-embed,
.primex-content .calendar-container iframe,
.primex-content .hp-form-wrapper iframe {
  width: 100%;
  min-height: 600px;
}

@media (max-width: 640px) {
  .primex-content .hs-embed,
  .primex-content .calendar-container iframe,
  .primex-content .hp-form-wrapper iframe {
    min-height: 400px;
  }
}

/* -------------------------------------------------------
   QA Pass 2026-07-07 — PrimeX visual fixes
   Fixes staging review issues after publishing pages:
   - homepage brand logos must behave like a horizontal slider
   - homepage location/city pills must wrap as real pills, not full rows
   - contact calendar embed must fit inside its card
   - purple gradient buttons need readable white text/icons
------------------------------------------------------- */

/* Homepage trusted brands carousel */
.primex-content .trusted-brands-section .logo-carousel {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  padding: 1rem 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}

.primex-content .trusted-brands-section .logo-track {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: clamp(2.5rem, 5vw, 5rem);
  width: max-content;
  min-width: 200%;
  animation: scroll-logos 34s linear infinite;
  will-change: transform;
}

.primex-content .trusted-brands-section .logo-carousel:hover .logo-track {
  animation-play-state: paused;
}

.primex-content .trusted-brands-section .logo-item {
  flex: 0 0 auto !important;
  width: clamp(150px, 13vw, 220px) !important;
  min-width: clamp(150px, 13vw, 220px) !important;
  height: 120px;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.primex-content .trusted-brands-section .logo-item a {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.primex-content .trusted-brands-section .logo-item img {
  display: block;
  width: auto !important;
  max-width: 100% !important;
  max-height: 92px !important;
  object-fit: contain;
}

/* Homepage location/city pills — some migrated pills are direct siblings,
   so target the whole locations section, not only .pm-location-row. */
.primex-content #locations-contact .pm-grid-2 > div:first-child {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 0.75rem;
}

.primex-content #locations-contact .pm-grid-2 > div:first-child .pm-eyebrow,
.primex-content #locations-contact .pm-grid-2 > div:first-child h2,
.primex-content #locations-contact .pm-grid-2 > div:first-child .pm-lead {
  flex: 0 0 100%;
}

.primex-content #locations-contact .pm-location-pill,
.primex-content #locations-contact a.pm-location-pill,
.primex-content .pm-location-row .pm-location-pill,
.primex-content .pm-location-row a.pm-location-pill {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: auto !important;
  max-width: 100%;
  min-height: 46px;
  margin: 0 !important;
  padding: 0.55rem 1.35rem !important;
  border-radius: 999px !important;
  line-height: 1.25;
  color: #c084fc !important;
  text-decoration: none !important;
  white-space: nowrap;
}

/* Contact calendar containment */
#primex-contact-page-wrapper.contact-page .calendar-container,
.primex-content .calendar-container {
  width: min(100%, 1100px) !important;
  max-width: calc(100vw - 48px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: clamp(0.75rem, 2vw, 1.5rem) !important;
  overflow: hidden !important;
}

#primex-contact-page-wrapper.contact-page .calendar-container iframe,
.primex-content .calendar-container iframe {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 760px !important;
  border-radius: 1rem !important;
  overflow: hidden !important;
}

@media (max-width: 900px) {
  #primex-contact-page-wrapper.contact-page .calendar-container,
  .primex-content .calendar-container {
    max-width: calc(100vw - 24px) !important;
    padding: 0.5rem !important;
    border-radius: 1rem !important;
  }

  #primex-contact-page-wrapper.contact-page .calendar-container iframe,
  .primex-content .calendar-container iframe {
    min-height: 820px !important;
    border-radius: 0.75rem !important;
  }
}

/* Button contrast — keep all gradient CTA/button text readable. */
.primex-content a[class*="btn"],
.primex-content button[class*="btn"],
.primex-content a[class*="button"],
.primex-content button[class*="button"],
.primex-content .method-button,
.primex-content .btn-primary-cta,
.primex-content .btn-primary,
.primex-content .pm-btn-primary,
.primex-content .hero-btn-primary,
.primex-content .luxury-submit-btn,
.primex-content .hp-submit-btn {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  opacity: 1 !important;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.18);
}

.primex-content a[class*="btn"] *,
.primex-content button[class*="btn"] *,
.primex-content a[class*="button"] *,
.primex-content button[class*="button"] *,
.primex-content .method-button *,
.primex-content .btn-primary-cta *,
.primex-content .btn-primary *,
.primex-content .pm-btn-primary *,
.primex-content .hero-btn-primary *,
.primex-content .luxury-submit-btn *,
.primex-content .hp-submit-btn * {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  opacity: 1 !important;
  fill: currentColor !important;
  stroke: currentColor !important;
}

/* -------------------------------------------------------
   QA Pass 2026-07-07b — service-page sizing and CTA fixes
   Normalizes the migrated service templates where GHL wrappers and
   page-specific CSS left-pinned grids, over-expanded containers, cropped
   hero backgrounds, or left behind empty imported buttons.
------------------------------------------------------- */

.primex-content {
  overflow-x: hidden !important;
}

/* Keep service content centered at readable widths. */
.primex-content .container,
.primex-content .container-narrow,
.primex-content .container-wide,
.primex-content .pm-content-container,
.primex-content section > .container,
.primex-content section > .container-narrow,
.primex-content section > .container-wide,
.primex-content section > .pm-content-container {
  width: min(calc(100% - 48px), 1280px) !important;
  max-width: min(calc(100vw - 48px), 1280px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.primex-content .container-narrow {
  width: min(calc(100% - 48px), 980px) !important;
  max-width: min(calc(100vw - 48px), 980px) !important;
}

.primex-content .container-wide {
  width: min(calc(100% - 48px), 1400px) !important;
  max-width: min(calc(100vw - 48px), 1400px) !important;
}

/* Service grids should center instead of starting at the viewport edge. */
.primex-content .grid,
.primex-content .card-grid,
.primex-content .pm-grid-3,
.primex-content .pm-grid-4,
.primex-content .stats-grid,
.primex-content .benefits-grid,
.primex-content .types-grid,
.primex-content .styles-grid,
.primex-content .pricing-grid,
.primex-content .process-grid,
.primex-content .gallery-grid {
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  justify-content: center !important;
  align-items: stretch !important;
}

.primex-content .grid-2,
.primex-content .grid.grid-2 {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: clamp(1.25rem, 2.4vw, 2rem) !important;
}

.primex-content .grid-3,
.primex-content .grid.grid-3,
.primex-content .card-grid,
.primex-content .pm-grid-3 {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)) !important;
  gap: clamp(1.25rem, 2.4vw, 2rem) !important;
}

.primex-content .pm-grid-4,
.primex-content .stats-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)) !important;
  gap: clamp(1.25rem, 2vw, 1.75rem) !important;
}

.primex-content .card,
.primex-content .pm-card,
.primex-content .stat-box,
.primex-content .pricing-card,
.primex-content .pricing-card-single,
.primex-content .process-step,
.primex-content .benefit-item {
  max-width: 100% !important;
}

/* Hero and background image fixes for service pages. */
.primex-content > .hero:first-child,
.primex-content > .hero-section:first-child,
.primex-content section.hero,
.primex-content section.hero-section {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  overflow: hidden !important;
}

.primex-content .hero-bg,
.primex-content .hero-background,
.primex-content .video-background {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

.primex-content .hero-content,
.primex-content .hero .hero-content,
.primex-content .hero-section .hero-content {
  width: min(calc(100% - 48px), 1280px) !important;
  max-width: min(calc(100vw - 48px), 1280px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  text-align: center;
}

.primex-content .hero-container {
  width: min(100%, 1180px) !important;
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.primex-content .hero-ctas,
.primex-content .hero-cta,
.primex-content .cta-row,
.primex-content .pm-cta-row {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 1rem !important;
}

/* Hide migrated empty CTA elements; make real CTAs readable. */
.primex-content a.btn:empty,
.primex-content button.btn:empty,
.primex-content a[class*="btn"]:empty,
.primex-content button[class*="btn"]:empty,
.primex-content a[class*="button"]:empty,
.primex-content button[class*="button"]:empty {
  display: none !important;
}

.primex-content .hero-ctas a,
.primex-content .hero-cta a,
.primex-content .cta-row a,
.primex-content .pm-cta-row a,
.primex-content .btn,
.primex-content .hero-btn,
.primex-content .hero-btn-outline-purple,
.primex-content .pm-btn,
.primex-content .method-button,
.primex-content .btn-primary-cta {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 180px !important;
  min-height: 52px !important;
  width: auto !important;
  max-width: 100% !important;
  padding: 0.9rem 1.65rem !important;
  border-radius: 12px !important;
  line-height: 1.2 !important;
  white-space: normal !important;
  text-align: center !important;
}

.primex-content .btn-secondary,
.primex-content .hero-btn-secondary,
.primex-content .pm-btn-outline,
.primex-content .hero-btn-outline-purple {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border-color: rgba(192, 132, 252, 0.9) !important;
  background: rgba(18, 10, 28, 0.72) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08) !important;
}

/* Photography page specifically: centered hero and background behavior. */
.primex-content .hero-section .hero-bg {
  background-position: center center !important;
}

.primex-content .hero-section .hero-stats,
.primex-content .hero .hero-stats,
.primex-content .trust-stats {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: clamp(1rem, 3vw, 2.5rem) !important;
}

/* Pricing/retainer sections should not float oddly on very wide screens. */
.primex-content .pricing-card-single {
  width: min(100%, 920px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

@media (max-width: 900px) {
  .primex-content .container,
  .primex-content .container-narrow,
  .primex-content .container-wide,
  .primex-content .pm-content-container,
  .primex-content .hero-content,
  .primex-content .hero .hero-content,
  .primex-content .hero-section .hero-content {
    width: min(calc(100% - 28px), 100%) !important;
    max-width: calc(100vw - 28px) !important;
  }

  .primex-content .grid-2,
  .primex-content .grid.grid-2,
  .primex-content .grid-3,
  .primex-content .grid.grid-3,
  .primex-content .card-grid,
  .primex-content .pm-grid-3,
  .primex-content .pm-grid-4,
  .primex-content .stats-grid {
    grid-template-columns: 1fr !important;
  }
}

/* -------------------------------------------------------
   QA Pass 2026-07-07c — stronger city-pill + service spacing fixes
------------------------------------------------------- */

/* The homepage location pills were imported as mixed <a> and <div> siblings.
   Force every pill in that section into a wrapping inline layout, regardless
   of whether it lives inside .pm-location-row or directly in the column. */
.primex-content #locations-contact .pm-grid-2 > div:first-child {
  display: block !important;
}

.primex-content #locations-contact .pm-grid-2 > div:first-child::after {
  content: "";
  display: table;
  clear: both;
}

.primex-content #locations-contact .pm-location-pill,
.primex-content #locations-contact a.pm-location-pill,
.primex-content #locations-contact div.pm-location-pill {
  display: inline-flex !important;
  float: none !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: calc(100% - 0.5rem) !important;
  margin: 0 0.6rem 0.75rem 0 !important;
  padding: 0.55rem 1.2rem !important;
  vertical-align: top !important;
}

/* Avoid oversized full-width empty rows on non-linked city labels. */
.primex-content #locations-contact div.pm-location-pill {
  color: #a1a1aa !important;
}

/* Service pages: reduce the giant blank space created by imported GHL section
   padding and normalize the rhythm between sections/cards. */
.primex-content section {
  padding-top: clamp(3rem, 5vw, 5rem) !important;
  padding-bottom: clamp(3rem, 5vw, 5rem) !important;
}

.primex-content section + section {
  margin-top: 0 !important;
}

.primex-content .section-header {
  max-width: 1000px !important;
  margin: 0 auto clamp(2rem, 4vw, 3rem) !important;
  text-align: center !important;
}

.primex-content .section-header .eyebrow,
.primex-content .section-header h2,
.primex-content .section-header .lead {
  margin-left: auto !important;
  margin-right: auto !important;
}

.primex-content .section-header h2 {
  max-width: 1100px !important;
}

.primex-content .section-header .lead {
  max-width: 860px !important;
}

/* Keep service-page cards from becoming huge slabs on desktop. */
.primex-content .card,
.primex-content .pm-card {
  padding: clamp(1.5rem, 2.6vw, 2.35rem) !important;
}

.primex-content .card h3,
.primex-content .pm-card h3 {
  line-height: 1.25 !important;
}

.primex-content .card p,
.primex-content .pm-card p {
  max-width: 56ch;
}

/* Social-media/service pages often use generic .hero and a second section
   immediately after it; keep follow-up sections closer to the viewport. */
.primex-content .hero + section,
.primex-content .hero-section + section {
  padding-top: clamp(2.5rem, 4vw, 4rem) !important;
}

/* Do not let a hidden/empty subtitle or paragraph create empty vertical gaps. */
.primex-content .lead:empty,
.primex-content .hero-subtitle:empty,
.primex-content .section-subtitle:empty,
.primex-content p:empty {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Make default service links readable inside gray paragraph text. */
.primex-content .card p a,
.primex-content .pm-card p a,
.primex-content section p a {
  color: #c084fc !important;
  -webkit-text-fill-color: #c084fc !important;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

/* -------------------------------------------------------
   QA Pass 2026-07-07d — remove title bubbles, clean bullets,
   and stop service cards from stretching into empty slabs.
------------------------------------------------------- */

/* Eyebrows/titles should not look like clickable city pills. */
.primex-content .eyebrow,
.primex-content .pm-eyebrow,
.primex-content .hero-eyebrow,
.primex-content .section-header .eyebrow,
.primex-content .section-header .pm-eyebrow,
.primex-content p.eyebrow,
.primex-content div.eyebrow {
  width: auto !important;
  max-width: none !important;
  min-height: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 0.75rem !important;
  color: #a020f0 !important;
  -webkit-text-fill-color: #a020f0 !important;
  line-height: 1.2 !important;
}

.primex-content .section-header,
.primex-content .calendar-header,
.primex-content .methods-header,
.primex-content .why-header,
.primex-content .faq-header {
  text-align: center !important;
}

.primex-content .section-header .eyebrow,
.primex-content .section-header .pm-eyebrow,
.primex-content .calendar-header .pm-eyebrow,
.primex-content .methods-header .pm-eyebrow,
.primex-content .why-header .pm-eyebrow,
.primex-content .faq-header .pm-eyebrow {
  justify-content: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.primex-content .eyebrow::before,
.primex-content .pm-eyebrow::before,
.primex-content .hero-eyebrow::before {
  content: "" !important;
  display: inline-block !important;
  flex: 0 0 2rem !important;
  width: 2rem !important;
  height: 2px !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #a020f0, #b845ff) !important;
  box-shadow: 0 0 14px rgba(160, 32, 240, 0.5) !important;
}

.primex-content .eyebrow::after,
.primex-content .pm-eyebrow::after,
.primex-content .hero-eyebrow::after {
  display: none !important;
  content: none !important;
}

/* Cards should size to content, not match the tallest card in a row. */
.primex-content .grid,
.primex-content .card-grid,
.primex-content .pm-grid-3,
.primex-content .pm-grid-4,
.primex-content .stats-grid,
.primex-content .benefits-grid {
  align-items: start !important;
}

.primex-content .card,
.primex-content .pm-card,
.primex-content .stat-box,
.primex-content .benefit-item,
.primex-content .process-step,
.primex-content .pricing-card,
.primex-content .pricing-card-single {
  height: auto !important;
  min-height: 0 !important;
  align-self: start !important;
}

/* Remove double bullets/checks introduced by WP list styles + imported pseudos. */
.primex-content .card ul,
.primex-content .pm-card ul,
.primex-content .pricing-factors ul,
.primex-content .check-list,
.primex-content .process-step ul {
  list-style: none !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
}

.primex-content .card li,
.primex-content .pm-card li,
.primex-content .pricing-factors li,
.primex-content .check-list li,
.primex-content .process-step li {
  list-style: none !important;
  padding-left: 1.75rem !important;
  position: relative !important;
}

.primex-content .card li::marker,
.primex-content .pm-card li::marker,
.primex-content .pricing-factors li::marker,
.primex-content .check-list li::marker,
.primex-content .process-step li::marker {
  content: "" !important;
}

.primex-content .card li::before,
.primex-content .pm-card li::before,
.primex-content .pricing-factors li::before,
.primex-content .check-list li::before,
.primex-content .process-step li::before {
  content: "✓" !important;
  position: absolute !important;
  left: 0 !important;
  top: 0.05em !important;
  width: 1rem !important;
  height: 1rem !important;
  color: #a020f0 !important;
  -webkit-text-fill-color: #a020f0 !important;
  font-weight: 800 !important;
  line-height: 1 !important;
}

.primex-content .x-list li::before {
  content: "×" !important;
  color: #ef4444 !important;
  -webkit-text-fill-color: #ef4444 !important;
}

/* Keep location/city pills exempt from eyebrow cleanup. */
.primex-content #locations-contact .pm-location-pill {
  border: 2px solid var(--pmx-border, #222) !important;
  border-radius: 999px !important;
  background: rgba(10, 10, 10, 0.9) !important;
  box-shadow: none !important;
}

/* -------------------------------------------------------
   QA Pass 2026-07-07e — service-page hero labels, live-stream
   package bullets, and photography hero background fallback.
------------------------------------------------------- */

/* Camera crew pages used custom eyebrow class names that escaped the generic
   eyebrow cleanup above. They are labels, not pills/buttons. */
.primex-content .hero-eyebrow-camera,
.primex-content .camera-eyebrow {
  width: auto !important;
  max-width: none !important;
  min-height: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 0.75rem !important;
  color: #a020f0 !important;
  -webkit-text-fill-color: #a020f0 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
}

.primex-content .hero-eyebrow-camera::before,
.primex-content .camera-eyebrow::before {
  content: "" !important;
  display: inline-block !important;
  flex: 0 0 2rem !important;
  width: 2rem !important;
  height: 2px !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #a020f0, #b845ff) !important;
  box-shadow: 0 0 14px rgba(160, 32, 240, 0.5) !important;
}

.primex-content .hero-eyebrow-camera::after,
.primex-content .camera-eyebrow::after {
  display: none !important;
  content: none !important;
}

.primex-content .hero-content .hero-eyebrow-camera,
.primex-content .camera-section-header .camera-eyebrow {
  justify-content: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Live streaming packages had both browser bullets and imported checkmarks.
   Normalize to one visible checkmark and preserve package divider lines. */
.primex-content .package-features,
.primex-content ul.package-features,
.primex-content .service-package ul {
  list-style: none !important;
  list-style-type: none !important;
  list-style-position: outside !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
}

.primex-content .package-features li,
.primex-content .service-package li {
  display: block !important;
  list-style: none !important;
  list-style-type: none !important;
  position: relative !important;
  padding-left: 2rem !important;
}

.primex-content .package-features li::marker,
.primex-content .service-package li::marker {
  content: "" !important;
  font-size: 0 !important;
}

.primex-content .package-features li::before,
.primex-content .service-package li::before {
  content: "✓" !important;
  position: absolute !important;
  left: 0 !important;
  top: 0.8rem !important;
  width: 1rem !important;
  height: 1rem !important;
  color: #a020f0 !important;
  -webkit-text-fill-color: #a020f0 !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}

/* The photography page hero should retain its image-backed stage. Use the new
   stable body class so the photo does not leak onto unrelated service pages. */
body.primex-path-services-photography .primex-content .hero-section {
  background-image:
    linear-gradient(135deg, rgba(0, 0, 0, 0.82) 0%, rgba(160, 32, 240, 0.24) 100%),
    url("https://assets.cdn.filesafe.space/W76WTHYm5nHSJIBGdSgR/media/69d69bd4ebf1a608433d6280.webp") !important;
  background-size: cover !important;
  background-position: center 30% !important;
  background-repeat: no-repeat !important;
}

body.primex-path-services-photography .primex-content .hero-bg {
  display: block !important;
  opacity: 1 !important;
  background-image: url("https://assets.cdn.filesafe.space/W76WTHYm5nHSJIBGdSgR/media/69d69bd4ebf1a608433d6280.webp") !important;
  background-size: cover !important;
  background-position: center 30% !important;
  background-repeat: no-repeat !important;
}

body.primex-path-services-photography .primex-content .hero-overlay {
  display: block !important;
}

/* -------------------------------------------------------
   QA Pass 2026-07-07f — center hero copy blocks consistently.
------------------------------------------------------- */

.primex-content .hero-content,
.primex-content .hero .hero-content,
.primex-content .hero-section .hero-content,
.primex-content [class*="page-wrapper"] .hero-content,
.primex-content [id^="primex-"][id$="-page-wrapper"] .hero-content {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

.primex-content .hero-title,
.primex-content .hero-content h1,
.primex-content .hero-section h1,
.primex-content .hero-subtitle,
.primex-content .hero-support-copy,
.primex-content .hero-content > p,
.primex-content .hero-section .hero-content > p {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.primex-content .hero-subtitle,
.primex-content .hero-support-copy {
  max-width: 920px !important;
}

#primex-trust-page-wrapper.trust-page .hero-content,
#primex-camera-page-wrapper.camera-page .hero-content {
  width: min(calc(100% - 48px), 1280px) !important;
  max-width: min(calc(100vw - 48px), 1280px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
}

#primex-trust-page-wrapper.trust-page .hero-subtitle,
#primex-camera-page-wrapper.camera-page .hero-subtitle,
#primex-camera-page-wrapper.camera-page .hero-support-copy {
  max-width: 920px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

#primex-trust-page-wrapper.trust-page .hero-cta,
#primex-camera-page-wrapper.camera-page .hero-features,
#primex-camera-page-wrapper.camera-page .hero-cta {
  width: 100% !important;
  justify-content: center !important;
}

/* -------------------------------------------------------
   QA Pass 2026-07-07g — location pages get the same premium
   hero treatment as the service pages.
------------------------------------------------------- */

body[class*="primex-path-locations-"] .primex-content .primex-page > .hero:first-child,
body[class*="primex-path-about-locations-"] .primex-content .primex-page > .hero:first-child,
body[class*="primex-path-about-locations-"] .primex-content #primex-city-page-wrapper > .hero:first-child,
.primex-content .city-hub > .hero:first-child {
  min-height: clamp(620px, 82vh, 860px) !important;
  padding: clamp(7rem, 10vw, 10rem) 0 clamp(5rem, 8vw, 8rem) !important;
  background:
    radial-gradient(circle at 22% 35%, rgba(160, 32, 240, 0.18), transparent 42%),
    radial-gradient(circle at 78% 78%, rgba(126, 34, 206, 0.16), transparent 46%),
    linear-gradient(135deg, rgba(38, 13, 64, 0.96) 0%, rgba(8, 4, 12, 0.98) 58%, #050505 100%) !important;
}

body[class*="primex-path-locations-"] .primex-content .primex-page > .hero:first-child .container,
body[class*="primex-path-about-locations-"] .primex-content .primex-page > .hero:first-child .container,
body[class*="primex-path-about-locations-"] .primex-content #primex-city-page-wrapper > .hero:first-child .hero-content,
.primex-content .city-hub > .hero:first-child .container {
  width: min(calc(100% - 48px), 1180px) !important;
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
}

body[class*="primex-path-locations-"] .primex-content .primex-page > .hero:first-child h1,
body[class*="primex-path-about-locations-"] .primex-content .primex-page > .hero:first-child h1,
body[class*="primex-path-about-locations-"] .primex-content #primex-city-page-wrapper > .hero:first-child h1,
.primex-content .city-hub > .hero:first-child h1 {
  font-family: "Playfair Display", Georgia, serif !important;
  font-size: clamp(3.4rem, 7.8vw, 7.6rem) !important;
  font-weight: 900 !important;
  line-height: 1.04 !important;
  letter-spacing: -0.045em !important;
  max-width: 1120px !important;
  margin: 0 auto 2rem !important;
  color: transparent !important;
  background: linear-gradient(135deg, #ffffff 0%, #e9d5ff 38%, #a020f0 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  text-align: center !important;
}

body[class*="primex-path-locations-"] .primex-content .primex-page > .hero:first-child .subheadline,
body[class*="primex-path-about-locations-"] .primex-content .primex-page > .hero:first-child .subheadline,
.primex-content .city-hub > .hero:first-child .subheadline,
body[class*="primex-path-locations-"] .primex-content .primex-page > .hero:first-child .hero-tagline,
body[class*="primex-path-about-locations-"] .primex-content .primex-page > .hero:first-child .hero-tagline,
body[class*="primex-path-about-locations-"] .primex-content #primex-city-page-wrapper > .hero:first-child p {
  max-width: 920px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
  font-size: clamp(1.08rem, 1.7vw, 1.32rem) !important;
  line-height: 1.85 !important;
  color: #d4d4d8 !important;
  -webkit-text-fill-color: #d4d4d8 !important;
}

body[class*="primex-path-locations-"] .primex-content .primex-page > .hero:first-child .cta-row,
body[class*="primex-path-about-locations-"] .primex-content .primex-page > .hero:first-child .cta-row,
body[class*="primex-path-about-locations-"] .primex-content #primex-city-page-wrapper > .hero:first-child .cta-button,
.primex-content .city-hub > .hero:first-child .cta-row {
  justify-content: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body[class*="primex-path-locations-"] .primex-content .trust-bullets,
body[class*="primex-path-about-locations-"] .primex-content .trust-bullets,
.primex-content .city-hub .trust-bullets {
  width: min(100%, 920px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  list-style: none !important;
  display: grid !important;
  gap: 1rem !important;
}

body[class*="primex-path-locations-"] .primex-content .trust-bullets li,
body[class*="primex-path-about-locations-"] .primex-content .trust-bullets li,
.primex-content .city-hub .trust-bullets li {
  list-style: none !important;
  text-align: center !important;
  padding-left: 0 !important;
}

body[class*="primex-path-locations-"] .primex-content .trust-bullets li::marker,
body[class*="primex-path-about-locations-"] .primex-content .trust-bullets li::marker,
.primex-content .city-hub .trust-bullets li::marker {
  content: "" !important;
  font-size: 0 !important;
}

/* Location service lists were showing two markers: the browser bullet plus the
   imported purple diamond. Keep one clean diamond marker. */
body[class*="primex-path-locations-"] .primex-content .service-bullets,
body[class*="primex-path-about-locations-"] .primex-content .service-bullets,
.primex-content .city-hub .service-bullets {
  list-style: none !important;
  list-style-type: none !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
}

body[class*="primex-path-locations-"] .primex-content .service-bullets li,
body[class*="primex-path-about-locations-"] .primex-content .service-bullets li,
.primex-content .city-hub .service-bullets li {
  list-style: none !important;
  padding-left: 2.35rem !important;
  position: relative !important;
}

body[class*="primex-path-locations-"] .primex-content .service-bullets li::marker,
body[class*="primex-path-about-locations-"] .primex-content .service-bullets li::marker,
.primex-content .city-hub .service-bullets li::marker {
  content: "" !important;
  font-size: 0 !important;
}

body[class*="primex-path-locations-"] .primex-content .service-bullets li::before,
body[class*="primex-path-about-locations-"] .primex-content .service-bullets li::before,
.primex-content .city-hub .service-bullets li::before {
  content: "◆" !important;
  position: absolute !important;
  left: 0 !important;
  top: 0.15em !important;
  color: #a020f0 !important;
  -webkit-text-fill-color: #a020f0 !important;
  font-size: 1rem !important;
  line-height: 1 !important;
}

@media (max-width: 720px) {
  body[class*="primex-path-locations-"] .primex-content .primex-page > .hero:first-child h1,
  body[class*="primex-path-about-locations-"] .primex-content .primex-page > .hero:first-child h1,
  body[class*="primex-path-about-locations-"] .primex-content #primex-city-page-wrapper > .hero:first-child h1,
  .primex-content .city-hub > .hero:first-child h1 {
    font-size: clamp(2.7rem, 14vw, 4.6rem) !important;
  }
}

/* -------------------------------------------------------
   QA Pass 2026-07-07h — make all service page hero titles
   use the same large premium display treatment.
------------------------------------------------------- */

body[class*="primex-path-services-"] .primex-content > section:first-child h1,
body[class*="primex-path-services-"] .primex-content > div:first-child > section:first-child h1,
body[class*="primex-path-services-"] .primex-content .hero:first-child h1,
body[class*="primex-path-services-"] .primex-content .hero-section:first-child h1,
body[class*="primex-path-services-"] .primex-content .trust-hero h1,
body[class*="primex-path-services-"] .primex-content .training-hero h1,
body[class*="primex-path-services-"] .primex-content .promo-hero h1,
body[class*="primex-path-services-"] .primex-content .hero-title,
body[class*="primex-path-services-"] .primex-content .hero-title-train,
body[class*="primex-path-services-"] .primex-content .hero-title-promo,
body.primex-path-services .primex-content > section:first-child h1,
body.primex-path-services .primex-content .hero:first-child h1 {
  font-family: "Playfair Display", Georgia, serif !important;
  font-size: clamp(3.4rem, 7.8vw, 7.6rem) !important;
  font-weight: 900 !important;
  line-height: 1.04 !important;
  letter-spacing: -0.045em !important;
  max-width: 1180px !important;
  margin: 0 auto 2rem !important;
  color: transparent !important;
  background: linear-gradient(135deg, #ffffff 0%, #f3e8ff 34%, #a020f0 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  text-align: center !important;
}

body[class*="primex-path-services-"] .primex-content > section:first-child,
body[class*="primex-path-services-"] .primex-content > div:first-child > section:first-child,
body[class*="primex-path-services-"] .primex-content .hero:first-child,
body[class*="primex-path-services-"] .primex-content .hero-section:first-child,
body[class*="primex-path-services-"] .primex-content .trust-hero,
body[class*="primex-path-services-"] .primex-content .training-hero,
body[class*="primex-path-services-"] .primex-content .promo-hero,
body.primex-path-services .primex-content > section:first-child {
  text-align: center !important;
}

body[class*="primex-path-services-"] .primex-content > section:first-child .container,
body[class*="primex-path-services-"] .primex-content > div:first-child > section:first-child .container,
body[class*="primex-path-services-"] .primex-content .hero:first-child .container,
body[class*="primex-path-services-"] .primex-content .hero-section:first-child .hero-content,
body[class*="primex-path-services-"] .primex-content .trust-hero .hero-content,
body[class*="primex-path-services-"] .primex-content .training-hero .hero-content-train,
body[class*="primex-path-services-"] .primex-content .promo-hero .hero-content-promo,
body.primex-path-services .primex-content > section:first-child .container {
  width: min(calc(100% - 48px), 1280px) !important;
  max-width: 1280px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

@media (max-width: 720px) {
  body[class*="primex-path-services-"] .primex-content > section:first-child h1,
  body[class*="primex-path-services-"] .primex-content > div:first-child > section:first-child h1,
  body[class*="primex-path-services-"] .primex-content .hero:first-child h1,
  body[class*="primex-path-services-"] .primex-content .hero-section:first-child h1,
  body[class*="primex-path-services-"] .primex-content .trust-hero h1,
  body[class*="primex-path-services-"] .primex-content .training-hero h1,
  body[class*="primex-path-services-"] .primex-content .promo-hero h1,
  body[class*="primex-path-services-"] .primex-content .hero-title,
  body[class*="primex-path-services-"] .primex-content .hero-title-train,
  body[class*="primex-path-services-"] .primex-content .hero-title-promo,
  body.primex-path-services .primex-content > section:first-child h1 {
    font-size: clamp(2.7rem, 14vw, 4.6rem) !important;
  }
}

/* Photography had an imported black-heavy title shadow that made the gradient
   look muddy. Keep the premium title style, but make it readable. */
body.primex-path-services-photography .primex-content .hero-title,
body.primex-path-services-photography .primex-content .hero-section h1 {
  color: transparent !important;
  background: linear-gradient(135deg, #ffffff 0%, #f3e8ff 34%, #a020f0 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  text-shadow: none !important;
  filter: none !important;
  opacity: 1 !important;
}

/* -------------------------------------------------------
   QA Pass 2026-07-07i — mobile hero safe spacing.
   Fixed mobile headers were covering first-section eyebrows,
   and desktop-sized display H1s were too tall on phones.
------------------------------------------------------- */
@media (max-width: 720px) {
  html {
    scroll-padding-top: 190px !important;
  }

  .primex-content {
    padding-top: 150px !important;
  }

  .primex-content > section:first-child,
  .primex-content > div:first-child > section:first-child,
  .primex-content .hero:first-child,
  .primex-content .hero-section:first-child,
  .primex-content .trust-hero:first-child,
  .primex-content .training-hero:first-child,
  .primex-content .promo-hero:first-child,
  #primex-promo-page-wrapper.promo-page .promo-hero {
    min-height: auto !important;
    padding-top: clamp(2.75rem, 10vw, 4.5rem) !important;
    padding-bottom: clamp(3rem, 10vw, 4.75rem) !important;
    align-items: flex-start !important;
  }

  body[class*="primex-path-services-"] .primex-content > section:first-child h1,
  body[class*="primex-path-services-"] .primex-content > div:first-child > section:first-child h1,
  body[class*="primex-path-services-"] .primex-content .hero:first-child h1,
  body[class*="primex-path-services-"] .primex-content .hero-section:first-child h1,
  body[class*="primex-path-services-"] .primex-content .trust-hero h1,
  body[class*="primex-path-services-"] .primex-content .training-hero h1,
  body[class*="primex-path-services-"] .primex-content .promo-hero h1,
  body[class*="primex-path-services-"] .primex-content .hero-title,
  body[class*="primex-path-services-"] .primex-content .hero-title-train,
  body[class*="primex-path-services-"] .primex-content .hero-title-promo,
  body[class*="primex-path-locations-"] .primex-content .hero:first-child h1,
  body[class*="primex-path-about-locations-"] .primex-content .hero:first-child h1,
  body.primex-path-services .primex-content > section:first-child h1,
  #primex-promo-page-wrapper.promo-page .hero-title-promo {
    font-size: clamp(2rem, 9.2vw, 3.15rem) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.035em !important;
    max-width: min(100%, 680px) !important;
    margin-bottom: 1.25rem !important;
  }

  .primex-content .hero-subtitle,
  .primex-content .hero-content > p,
  .primex-content .hero-section .hero-content > p,
  .primex-content .subheadline,
  .primex-content .hero-description,
  .primex-content .hero-copy,
  #primex-promo-page-wrapper.promo-page .hero-subtitle-promo {
    font-size: clamp(1rem, 4.7vw, 1.18rem) !important;
    line-height: 1.62 !important;
    max-width: 92vw !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .primex-content .eyebrow,
  .primex-content .pm-eyebrow,
  .primex-content .hero-eyebrow,
  .primex-content .hero-eyebrow-camera,
  .primex-content .hero-eyebrow-promo,
  .primex-content .hero-eyebrow-train,
  #primex-promo-page-wrapper.promo-page .hero-eyebrow-promo {
    max-width: 92vw !important;
    white-space: normal !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .primex-content .hero-cta,
  .primex-content .hero-buttons,
  .primex-content .cta-buttons,
  #primex-promo-page-wrapper.promo-page .hero-cta-promo {
    margin-top: 1.25rem !important;
  }
}

@media (max-width: 430px) {
  .primex-content {
    padding-top: 142px !important;
  }

  .primex-content > section:first-child,
  .primex-content > div:first-child > section:first-child,
  .primex-content .hero:first-child,
  .primex-content .hero-section:first-child,
  .primex-content .trust-hero:first-child,
  .primex-content .training-hero:first-child,
  .primex-content .promo-hero:first-child,
  #primex-promo-page-wrapper.promo-page .promo-hero {
    padding-top: clamp(2rem, 8vw, 3.5rem) !important;
  }

  body[class*="primex-path-services-"] .primex-content > section:first-child h1,
  body[class*="primex-path-services-"] .primex-content > div:first-child > section:first-child h1,
  body[class*="primex-path-services-"] .primex-content .hero:first-child h1,
  body[class*="primex-path-services-"] .primex-content .hero-section:first-child h1,
  body[class*="primex-path-services-"] .primex-content .trust-hero h1,
  body[class*="primex-path-services-"] .primex-content .training-hero h1,
  body[class*="primex-path-services-"] .primex-content .promo-hero h1,
  body[class*="primex-path-services-"] .primex-content .hero-title,
  body[class*="primex-path-services-"] .primex-content .hero-title-train,
  body[class*="primex-path-services-"] .primex-content .hero-title-promo,
  body[class*="primex-path-locations-"] .primex-content .hero:first-child h1,
  body[class*="primex-path-about-locations-"] .primex-content .hero:first-child h1,
  body.primex-path-services .primex-content > section:first-child h1,
  #primex-promo-page-wrapper.promo-page .hero-title-promo {
    font-size: clamp(1.82rem, 8.9vw, 2.65rem) !important;
    line-height: 1.1 !important;
  }
}

/* Mobile-only cleanup for long eyebrow pills and long service subtitles. */
@media (max-width: 720px) {
  #primex-training-page-wrapper.training-page .hero-title-train,
  #primex-promo-page-wrapper.promo-page .hero-title-promo {
    font-size: clamp(1.85rem, 8.8vw, 2.9rem) !important;
  }

  #primex-training-page-wrapper.training-page .hero-eyebrow-train,
  #primex-promo-page-wrapper.promo-page .hero-eyebrow-promo,
  body.primex-path-services-doctor-social-media-video-retainer .primex-content .eyebrow,
  body.primex-path-services-dentist-social-media-video-retainer .primex-content .eyebrow,
  body.primex-path-services-hvac-plumbing-social-media-video-retainer .primex-content .eyebrow,
  body.primex-path-services-law-firm-social-media-video-retainer .primex-content .eyebrow {
    display: inline-flex !important;
    width: auto !important;
    max-width: calc(100vw - 2rem) !important;
    padding: 0.65rem 1rem !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    line-height: 1.35 !important;
    letter-spacing: 0.04em !important;
    text-align: center !important;
    justify-content: center !important;
    align-items: center !important;
  }

  body.primex-path-services-doctor-social-media-video-retainer .primex-content .eyebrow a,
  body.primex-path-services-dentist-social-media-video-retainer .primex-content .eyebrow a,
  body.primex-path-services-hvac-plumbing-social-media-video-retainer .primex-content .eyebrow a,
  body.primex-path-services-law-firm-social-media-video-retainer .primex-content .eyebrow a {
    display: inline !important;
    white-space: normal !important;
    word-break: keep-all !important;
  }
}

@media (max-width: 430px) {
  #primex-training-page-wrapper.training-page .hero-title-train,
  #primex-promo-page-wrapper.promo-page .hero-title-promo {
    font-size: clamp(1.72rem, 8.2vw, 2.45rem) !important;
    letter-spacing: -0.03em !important;
  }
}

/* Header now includes a top-level Locations dropdown. Keep desktop nav tidy. */
@media (min-width: 901px) {
  .pmx-header-wrapper .pmx-menu ul {
    gap: clamp(1rem, 1.55vw, 2rem) !important;
  }

  .pmx-header-wrapper .pmx-menu a {
    font-size: clamp(0.86rem, 0.82vw, 1rem) !important;
  }
}

/* -------------------------------------------------------
   QA Pass 2026-07-07j — cleaner launch sizing.
   The premium display titles were visually too large on desktop,
   and several location pages used different wrappers so they missed
   the shared title treatment.
------------------------------------------------------- */
@media (min-width: 721px) {
  body[class*="primex-path-services-"] .primex-content > section:first-child h1,
  body[class*="primex-path-services-"] .primex-content > div:first-child > section:first-child h1,
  body[class*="primex-path-services-"] .primex-content .hero:first-child h1,
  body[class*="primex-path-services-"] .primex-content .hero-section:first-child h1,
  body[class*="primex-path-services-"] .primex-content .trust-hero h1,
  body[class*="primex-path-services-"] .primex-content .training-hero h1,
  body[class*="primex-path-services-"] .primex-content .promo-hero h1,
  body[class*="primex-path-services-"] .primex-content .hero-title,
  body[class*="primex-path-services-"] .primex-content .hero-title-train,
  body[class*="primex-path-services-"] .primex-content .hero-title-promo,
  body[class*="primex-path-locations-"] .primex-content > section:first-child h1,
  body[class*="primex-path-locations-"] .primex-content > div:first-child > section:first-child h1,
  body[class*="primex-path-locations-"] .primex-content .page-content > .hero:first-child h1,
  body[class*="primex-path-locations-"] .primex-content .primex-page > .hero:first-child h1,
  body[class*="primex-path-locations-"] .primex-content .hero:first-child h1,
  body[class*="primex-path-about-locations-"] .primex-content > section:first-child h1,
  body[class*="primex-path-about-locations-"] .primex-content > div:first-child > section:first-child h1,
  body[class*="primex-path-about-locations-"] .primex-content .primex-page > .hero:first-child h1,
  body[class*="primex-path-about-locations-"] .primex-content #primex-city-page-wrapper > .hero:first-child h1,
  body.primex-path-home .primex-content > section:first-child h1,
  body.primex-path-home .primex-content .hero-section:first-child h1,
  body.primex-path-home .primex-content .hero-title,
  body.primex-path-about .primex-content > section:first-child h1,
  body.primex-path-about .primex-content .about-hero:first-child h1,
  body.primex-path-locations .primex-content > section:first-child h1,
  body.primex-path-locations .primex-content > div:first-child > section:first-child h1,
  body.primex-path-locations .primex-content .hero:first-child h1,
  body.primex-path-locations .primex-content .primex-page > .hero:first-child h1,
  body.primex-path-contact-us .primex-content > section:first-child h1,
  body.primex-path-contact-us .primex-content .contact-hero:first-child h1,
  body.primex-path-contact-us .primex-content .hero-title,
  body.primex-path-services .primex-content > section:first-child h1,
  body.primex-path-services .primex-content .hero:first-child h1 {
    font-family: "Playfair Display", Georgia, serif !important;
    font-size: clamp(2.35rem, 4.7vw, 4.6rem) !important;
    font-weight: 900 !important;
    line-height: 1.06 !important;
    letter-spacing: -0.04em !important;
    max-width: 1040px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    color: transparent !important;
    background: linear-gradient(135deg, #ffffff 0%, #f3e8ff 34%, #a020f0 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    text-align: center !important;
  }

  body[class*="primex-path-locations-"] .primex-content > section:first-child,
  body[class*="primex-path-locations-"] .primex-content > div:first-child > section:first-child,
  body[class*="primex-path-locations-"] .primex-content .page-content > .hero:first-child,
  body[class*="primex-path-locations-"] .primex-content .primex-page > .hero:first-child,
  body[class*="primex-path-locations-"] .primex-content .hero:first-child,
  body.primex-path-home .primex-content > section:first-child,
  body.primex-path-home .primex-content .hero-section:first-child,
  body.primex-path-about .primex-content > section:first-child,
  body.primex-path-about .primex-content .about-hero:first-child,
  body.primex-path-locations .primex-content > section:first-child,
  body.primex-path-locations .primex-content > div:first-child > section:first-child,
  body.primex-path-locations .primex-content .hero:first-child,
  body.primex-path-contact-us .primex-content > section:first-child,
  body.primex-path-contact-us .primex-content .contact-hero:first-child {
    text-align: center !important;
  }
}

/* -------------------------------------------------------
   QA Pass 2026-07-07k — parent-page title parity.
   Home, About, Services, Locations, and Contact now share
   the same premium hero title language as service/location pages.
------------------------------------------------------- */
body.primex-path-home .primex-content > section:first-child .container,
body.primex-path-home .primex-content .hero-section:first-child .hero-content,
body.primex-path-about .primex-content > section:first-child .container,
body.primex-path-about .primex-content .about-hero:first-child .container,
body.primex-path-services .primex-content > section:first-child .container,
body.primex-path-services .primex-content .hero:first-child .container,
body.primex-path-locations .primex-content > section:first-child .container,
body.primex-path-locations .primex-content > div:first-child > section:first-child .container,
body.primex-path-locations .primex-content .hero:first-child .container,
body.primex-path-contact-us .primex-content > section:first-child .container,
body.primex-path-contact-us .primex-content .contact-hero:first-child .container {
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

body.primex-path-home .primex-content > section:first-child p,
body.primex-path-home .primex-content .hero-section:first-child p,
body.primex-path-about .primex-content > section:first-child p,
body.primex-path-about .primex-content .about-hero:first-child p,
body.primex-path-services .primex-content > section:first-child p,
body.primex-path-services .primex-content .hero:first-child p,
body.primex-path-locations .primex-content > section:first-child p,
body.primex-path-locations .primex-content > div:first-child > section:first-child p,
body.primex-path-locations .primex-content .hero:first-child p,
body.primex-path-contact-us .primex-content > section:first-child p,
body.primex-path-contact-us .primex-content .contact-hero:first-child p {
  max-width: 860px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

@media (max-width: 720px) {
  body.primex-path-home .primex-content > section:first-child h1,
  body.primex-path-home .primex-content .hero-section:first-child h1,
  body.primex-path-home .primex-content .hero-title,
  body.primex-path-about .primex-content > section:first-child h1,
  body.primex-path-about .primex-content .about-hero:first-child h1,
  body.primex-path-services .primex-content > section:first-child h1,
  body.primex-path-services .primex-content .hero:first-child h1,
  body.primex-path-locations .primex-content > section:first-child h1,
  body.primex-path-locations .primex-content > div:first-child > section:first-child h1,
  body.primex-path-locations .primex-content .hero:first-child h1,
  body.primex-path-contact-us .primex-content > section:first-child h1,
  body.primex-path-contact-us .primex-content .contact-hero:first-child h1,
  body.primex-path-contact-us .primex-content .hero-title {
    font-family: "Playfair Display", Georgia, serif !important;
    font-size: clamp(2.05rem, 10vw, 3.45rem) !important;
    font-weight: 900 !important;
    line-height: 1.02 !important;
    letter-spacing: -0.045em !important;
    color: transparent !important;
    background: linear-gradient(135deg, #ffffff 0%, #f3e8ff 36%, #a020f0 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    text-align: center !important;
    max-width: min(92vw, 680px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}
