/* Pixron CMS — sits under site hero + breadcrumb; full #wrapper width */

#wrapper.px-cms-page .sayfacontent.px-cms-shell,
#wrapper .sayfacontent.px-cms-shell,
#wrapper .px-cms-shell {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 0 72px !important;
  padding: 28px 0 56px !important;
  box-sizing: border-box;
}
#wrapper .px-cms-wrap {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Soft page field under dark hero — not flat white */
body:has(#wrapper.px-cms-page),
body:has(#wrapper.px-normal-page),
body:has(.px-cms-pro) {
  background:
    radial-gradient(ellipse 70% 40% at 50% 0%, rgba(245, 158, 11, 0.06) 0%, transparent 55%),
    linear-gradient(180deg, #f1f5f9 0%, #eef2f7 48%, #f8fafc 100%) !important;
}
#wrapper.px-cms-page,
#wrapper.px-cms-page .sayfacontent,
#wrapper .sayfacontent.px-cms-shell,
.px-cms-shell {
  background: transparent !important;
  box-shadow: none !important;
}

.px-cms {
  width: 100%;
  color: #334155;
  font-size: 15.5px;
  line-height: 1.7;
}
.px-cms-pro { margin: 0; }

/* Intro under site H1 — no second page title */
.px-cms-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.85fr);
  gap: 20px;
  align-items: stretch;
  margin: 0 0 28px;
  padding: 26px 28px;
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 250, 252, 0.88) 100%);
  border: 1px solid rgba(148, 163, 184, 0.28);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 22px 48px -36px rgba(15, 23, 42, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.px-cms-intro-main { min-width: 0; }
.px-cms-eyebrow {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #b45309;
}
.px-cms-lead {
  margin: 0 0 18px;
  max-width: 68ch;
  color: #475569;
  font-size: 16px;
  line-height: 1.65;
}
.px-cms-lead strong { color: #0f172a; }

.px-cms-metrics {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.px-cms-metrics li {
  padding: 14px 12px;
  border-radius: 12px;
  background: linear-gradient(160deg, #0f172a 0%, #1e293b 100%);
  color: #e2e8f0;
  border: 1px solid rgba(245, 158, 11, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.px-cms-metrics strong {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: #f59e0b;
  letter-spacing: -0.03em;
}
.px-cms-metrics span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #94a3b8;
  font-weight: 600;
}

.px-cms-section { margin: 0 0 28px; }
.px-cms-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 16px;
  flex-wrap: wrap;
}
.px-cms-section-head h2 {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
}
.px-cms-section-head p {
  margin: 0;
  max-width: 54ch;
  color: #64748b;
  font-size: 14.5px;
}

.px-cms-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.px-cms-btn,
.px-cms-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.px-cms-btn {
  background: #0f172a;
  color: #fff !important;
}
.px-cms-btn:hover { background: #f59e0b; color: #0f172a !important; transform: translateY(-1px); }
.px-cms-btn-ghost {
  background: rgba(255, 255, 255, 0.65);
  color: #0f172a !important;
  border: 1px solid rgba(148, 163, 184, 0.45);
}
.px-cms-btn-ghost:hover {
  border-color: #f59e0b;
  color: #92400e !important;
  background: #fff;
}
.px-cms-panel-side .px-cms-btn {
  background: #f59e0b;
  color: #0f172a !important;
}
.px-cms-panel-side .px-cms-btn:hover { background: #fff; }

.px-cms-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 28px;
}
.px-cms-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 28px;
}
.px-cms-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 28px;
}
.px-cms-bank-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 28px;
}

.px-cms-card,
.px-cms-bank,
.px-cms-note {
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.97) 0%, rgba(248, 250, 252, 0.94) 100%);
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 16px;
  padding: 22px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 14px 32px -28px rgba(15, 23, 42, 0.28);
}
.px-cms-card-lift {
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.px-cms-card-lift:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 22px 40px -26px rgba(245, 158, 11, 0.28);
}
.px-cms-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 12px;
  border-radius: 10px;
  background: linear-gradient(145deg, #fff7ed 0%, #ffedd5 100%);
  border: 1px solid rgba(245, 158, 11, 0.28);
  color: #b45309;
  font-size: 13px;
  font-weight: 800;
}
.px-cms-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}
.px-cms-card p { margin: 0; color: #64748b; font-size: 14.5px; }

.px-cms-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 28px;
  counter-reset: pxstep;
}
.px-cms-step {
  position: relative;
  padding: 20px 18px 18px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.97) 0%, rgba(248, 250, 252, 0.94) 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 14px 32px -28px rgba(15, 23, 42, 0.22);
  counter-increment: pxstep;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.px-cms-step:hover {
  transform: translateY(-2px);
  border-color: rgba(245, 158, 11, 0.45);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 18px 36px -24px rgba(245, 158, 11, 0.25);
}
.px-cms-step::before {
  content: counter(pxstep, decimal-leading-zero);
  display: block;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #f59e0b;
}
.px-cms-step h3 {
  margin: 0 0 6px;
  font-size: 15.5px;
  font-weight: 800;
  color: #0f172a;
}
.px-cms-step p {
  margin: 0;
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.55;
}

.px-cms-table-wrap {
  overflow-x: auto;
  margin: 0 0 28px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 16px;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.95) 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 14px 32px -28px rgba(15, 23, 42, 0.22);
}
.px-cms-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}
.px-cms-table th,
.px-cms-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid #f1f5f9;
  font-size: 14px;
}
.px-cms-table th {
  background: #0f172a;
  color: #f8fafc;
  font-weight: 700;
}
.px-cms-table tr:last-child td { border-bottom: 0; }
.px-cms-table tr:nth-child(even) td {
  background: rgba(241, 245, 249, 0.45);
}
.px-cms-table td:first-child { font-weight: 700; color: #0f172a; width: 28%; }
.px-cms-good { color: #047857; font-weight: 700; }
.px-cms-bad { color: #be123c; font-weight: 600; }

.px-cms-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
}
.px-cms-tech span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.35);
  color: #334155;
  font-size: 12.5px;
  font-weight: 700;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.px-cms-faq {
  display: grid;
  gap: 10px;
  margin: 0 0 28px;
}
.px-cms-faq details {
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 14px;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.97) 0%, rgba(248, 250, 252, 0.94) 100%);
  padding: 14px 18px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85) inset;
}
.px-cms-faq summary {
  cursor: pointer;
  font-weight: 800;
  color: #0f172a;
  list-style: none;
}
.px-cms-faq summary::-webkit-details-marker { display: none; }
.px-cms-faq details[open] summary { color: #b45309; margin-bottom: 8px; }
.px-cms-faq p {
  margin: 0;
  color: #64748b;
  font-size: 14.5px;
}

.px-cms-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.75fr);
  gap: 14px;
  margin: 0 0 28px;
}
.px-cms-panel-main,
.px-cms-panel-side {
  border-radius: 16px;
  padding: 24px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.97) 0%, rgba(248, 250, 252, 0.94) 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 14px 32px -28px rgba(15, 23, 42, 0.22);
}
.px-cms-panel-side {
  background: linear-gradient(160deg, #0f172a, #1e293b);
  border-color: rgba(245, 158, 11, 0.2);
  color: #e2e8f0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.px-cms-panel-side .px-cms-eyebrow { color: #f59e0b; }
.px-cms-panel-side h3 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}
.px-cms-panel-side p { color: #94a3b8; margin: 0 0 18px; }
.px-cms-panel-note {
  margin: 14px 0 0 !important;
  font-size: 12.5px !important;
  color: #94a3b8 !important;
  font-family: var(--px-font-mono, ui-monospace, monospace);
}
.px-cms-panel-main h2 {
  margin: 0 0 14px;
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
}

.px-cms-story {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.85fr);
  gap: 14px;
  margin: 0 0 8px;
}
.px-cms-story-main {
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.97) 0%, rgba(248, 250, 252, 0.94) 100%);
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 16px;
  padding: 24px 26px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 14px 32px -28px rgba(15, 23, 42, 0.22);
}
.px-cms-story-main p {
  margin: 0 0 14px;
  color: #475569;
  font-size: 15px;
  line-height: 1.7;
}
.px-cms-story-main p:last-child { margin-bottom: 0; }
.px-cms-story-main strong { color: #0f172a; }

.px-cms-legal {
  background: #0f172a;
  border-radius: 16px;
  padding: 22px 22px 20px;
  color: #e2e8f0;
}
.px-cms-legal .px-cms-eyebrow { color: #f59e0b; }
.px-cms-legal h3 {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}
.px-cms-legal dl {
  margin: 0;
  display: grid;
  gap: 12px;
}
.px-cms-legal dt {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
}
.px-cms-legal dd {
  margin: 4px 0 0;
  font-size: 14px;
  font-weight: 600;
  color: #f8fafc;
  line-height: 1.45;
}
.px-cms-legal a {
  color: #fbbf24;
  text-decoration: none;
  font-weight: 700;
}
.px-cms-legal a:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .px-cms-story { grid-template-columns: 1fr; }
}

.px-cms-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
}
.px-cms-checklist li {
  position: relative;
  padding: 10px 0 10px 28px;
  border-bottom: 1px solid #f1f5f9;
  color: #475569;
  font-size: 14.5px;
}
.px-cms-checklist li:last-child { border-bottom: 0; }
.px-cms-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.2);
  box-shadow: inset 0 0 0 5px #f59e0b;
}

.px-cms-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin: 8px 0 0;
  padding: 22px 24px;
  border-radius: 16px;
  background: #0f172a;
  color: #e2e8f0;
}
.px-cms-band h2 {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
}
.px-cms-band p { margin: 0; color: #94a3b8; font-size: 14px; }
.px-cms-band .px-cms-btn {
  background: #f59e0b;
  color: #0f172a !important;
}
.px-cms-band .px-cms-btn-ghost {
  color: #e2e8f0 !important;
  border-color: rgba(226, 232, 240, 0.35);
}

.px-cms-inline-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 700;
  color: #b45309;
  text-decoration: none;
}
.px-cms-inline-link:hover { color: #0f172a; }

.px-cms-bank-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}
.px-cms-bank-name { font-weight: 800; color: #0f172a; font-size: 16px; }
.px-cms-bank-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #92400e;
  background: rgba(245, 158, 11, 0.16);
  border-radius: 999px;
  padding: 4px 10px;
}
.px-cms-bank dl {
  margin: 0;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 8px 12px;
}
.px-cms-bank dt {
  margin: 0;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.px-cms-bank dd { margin: 0; color: #0f172a; font-weight: 600; }
.px-cms-iban {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13.5px;
  letter-spacing: 0.02em;
  word-break: break-all;
}
.px-cms-note {
  margin: 0 0 24px;
  background: #fffbeb;
  border-color: #fde68a;
  color: #78350f;
  font-size: 14px;
}

/* Legacy class aliases from older admin HTML */
.px-cms-hero,
.px-cms-hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.85fr);
  gap: 20px;
  margin: 0 0 28px;
  padding: 26px 28px;
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 250, 252, 0.88) 100%);
  border: 1px solid rgba(148, 163, 184, 0.28);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 22px 48px -36px rgba(15, 23, 42, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: inherit;
}
.px-cms-hero h1,
.px-cms-hero h2 {
  /* Site chrome already has H1 — demote duplicate titles in old HTML */
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.px-cms-hero-stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.px-cms-hero-stats li { padding: 14px 12px; border-radius: 12px; background: #0f172a; }
.px-cms-hero-stats strong { display: block; font-size: 22px; font-weight: 800; color: #f59e0b; }
.px-cms-hero-stats span { display: block; margin-top: 4px; font-size: 12px; color: #94a3b8; font-weight: 600; }
.px-cms-hero .px-cms-lead { color: #475569; }
.px-cms-hero .px-cms-eyebrow { color: #b45309; }
.px-cms-hero .px-cms-btn-ghost { color: #0f172a !important; border-color: #cbd5e1; }

/* Media — dedicated / colo product visuals */
.px-cms-media {
  margin: 0 0 28px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: #0f172a;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 22px 48px -36px rgba(15, 23, 42, 0.45);
}
.px-cms-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  vertical-align: middle;
}
.px-cms-media figcaption {
  margin: 0;
  padding: 12px 16px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #94a3b8;
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  border-top: 1px solid rgba(148, 163, 184, 0.15);
}
.px-cms-media-hero {
  margin-top: 4px;
}
.px-cms-media-hero img {
  max-height: 420px;
}

.px-cms-media-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 28px;
}
.px-cms-media-tile {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: #0f172a;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.px-cms-media-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(245, 158, 11, 0.45);
  box-shadow: 0 16px 32px -22px rgba(245, 158, 11, 0.35);
}
.px-cms-media-tile img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.px-cms-media-tile figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px 14px;
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
}
.px-cms-media-tile figcaption strong {
  color: #f8fafc;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: -0.01em;
}
.px-cms-media-tile figcaption span {
  color: #94a3b8;
  font-size: 12.5px;
  font-weight: 600;
}

.px-cms-media-pair {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 14px;
  align-items: stretch;
  margin: 0 0 28px;
}
.px-cms-media-pair > .px-cms-media {
  margin: 0;
  height: 100%;
}
.px-cms-media-pair > .px-cms-media img {
  height: 100%;
  min-height: 280px;
  max-height: 480px;
}
.px-cms-grid-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.px-cms-grid-stack .px-cms-card {
  flex: 1;
}
.px-cms-steps-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  grid-template-columns: none;
}
.px-cms-steps-stack .px-cms-step {
  margin: 0;
}

@media (max-width: 1100px) {
  .px-cms-grid-4,
  .px-cms-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .px-cms-intro,
  .px-cms-hero,
  .px-cms-hero-split,
  .px-cms-panel,
  .px-cms-grid-3,
  .px-cms-grid-2,
  .px-cms-bank-grid,
  .px-cms-media-pair { grid-template-columns: 1fr; }
  .px-cms-bank dl { grid-template-columns: 1fr; gap: 4px; }
  .px-cms-media-pair > .px-cms-media img {
    min-height: 200px;
    max-height: 320px;
  }
}
@media (max-width: 640px) {
  .px-cms-grid-4,
  .px-cms-steps,
  .px-cms-metrics,
  .px-cms-media-strip { grid-template-columns: 1fr; }
  .px-cms-media-hero img { max-height: 260px; }
}
