/*
Theme Name: PredictRx Research Portal
Theme URI: https://example.com/predictrx
Author: PredictRx
Description: Responsive PREDICT RX Full Site Editing block theme with editable page sections and template parts.
Version: 2.2.2
Requires at least: 6.3
Tested up to: 6.8
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: predictrx
*/

:root {
  --prx-navy: #173963;
  --prx-hero: #244d85;
  --prx-deep: #07132f;
  --prx-blue: #2a83c6;
  --prx-sky: #b7d0f0;
  --prx-pale: #f0f7fc;
  --prx-ink: #173963;
  --prx-body: #526477;
  --prx-white: #fff;
  --prx-radius: 22px;
  --prx-content: 1180px;
  --prx-font: Aptos, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 108px; }
body { margin: 0; color: var(--prx-ink); background: var(--prx-white); font-family: var(--prx-font); line-height: 1.6; }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 3px solid #56b9c0; outline-offset: 4px; }
.skip-link { position: absolute; z-index: 20; top: -80px; left: 12px; padding: 10px 14px; background: #fff; color: var(--prx-navy); }
.skip-link:focus { top: 12px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; clip-path: inset(50%); }
.site-header { position: relative; z-index: 5; display: flex; align-items: center; justify-content: space-between; min-height: 104px; padding: 12px max(28px, calc((100vw - 1380px) / 2)); border-top: 3px solid #dce5ef; background: #fff; }
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1.05; }
.brand-name { display: flex; align-items: center; gap: 9px; color: var(--prx-navy); font-size: clamp(22px, 2.1vw, 32px); font-weight: 750; letter-spacing: .025em; }
.brand-mark { display: inline-grid; width: 34px; height: 34px; place-items: center; border: 2px solid #4e91ca; border-radius: 50%; color: #337bb6; font-size: 12px; font-weight: 800; }
.brand-rx { color: #8d9aab; font-weight: 400; }
.brand-tagline { margin: 6px 0 0 44px; color: #677b91; font-size: 13px; }
.desktop-nav { display: flex; align-items: center; gap: clamp(12px, 2vw, 34px); font-family: var(--prx-font); font-size: 18px; font-style: italic; }
.desktop-nav a { padding: 11px 13px; text-decoration: none; }
.desktop-nav a:first-child { background: var(--prx-sky); }
.desktop-nav a:hover { color: #23689a; }
.sign-in { color: #65798d; font: 600 13px/1.2 var(--prx-font); text-decoration: none; }
.mobile-menu { display: none; }
.hero { position: relative; display: grid; min-height: 300px; place-items: center; overflow: hidden; padding: 52px 24px; background: var(--prx-hero); color: #fff; text-align: center; }
.hero::before { position: absolute; inset: 0; background: url("assets/dna-helix.svg") center 45% / cover no-repeat; content: ""; opacity: .38; }
.hero-content { position: relative; z-index: 1; max-width: 850px; }
.eyebrow { margin: 0 0 13px; color: #4285ad; font-size: 11px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.hero .eyebrow { color: #b6daef; }
.hero h1 { margin: 0; font: italic 600 clamp(38px, 5vw, 64px)/1.12 var(--prx-font); }
.hero h1 strong { font-weight: 800; }
.hero h1 span { color: #c0c7d1; }
.hero-subtitle { margin: 16px 0 0; color: #cfcfcf; font: italic clamp(17px, 1.4vw, 20px)/1.4 var(--prx-font); }
.dna-field { position: relative; isolation: isolate; overflow: hidden; padding: 54px 24px 72px; background: var(--prx-deep) url("assets/dna-helix.svg") center / cover fixed; }
.section-wrap { width: min(var(--prx-content), 100%); margin: 0 auto; }
.panel { position: relative; z-index: 1; border-radius: var(--prx-radius); background: #fff; }
.about-panel { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(230px, .75fr); gap: 34px; align-items: center; width: min(100%, 1080px); margin-left: -24px; padding: 34px 40px; }
.panel h2, .section-title { margin: 0 0 13px; color: var(--prx-navy); font: italic 700 clamp(24px, 2.6vw, 34px)/1.2 var(--prx-font); }
.about-copy { margin: 0; color: var(--prx-body); font-size: 16px; }
.workflow-callout { padding: 23px; border-radius: 16px; background: var(--prx-pale); }
.workflow-callout strong { display: block; margin-bottom: 12px; color: #286c99; font-size: 10px; letter-spacing: .08em; }
.workflow-callout p { margin: 0; color: var(--prx-navy); font-size: 17px; font-weight: 700; line-height: 1.5; }
.workflow-panel { width: min(100%, 970px); margin: 42px 0 0 auto; padding: 30px 34px 34px; }
.workflow-panel h2 { font-size: clamp(23px, 2.4vw, 31px); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr) minmax(140px, .9fr); gap: 14px; align-items: stretch; }
.step { min-height: 112px; padding: 17px; border-radius: 12px; background: #f2f5f8; }
.step-number { display: block; margin-bottom: 12px; color: #24658f; font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.step p, .download-option { margin: 0; color: var(--prx-navy); font-size: 14px; font-weight: 650; }
.download-option { align-self: center; padding: 12px; }
.audiences { padding: 60px 0 30px; }
.audiences .eyebrow { color: #b9d9ee; }
.audiences .section-title { color: #fff; }
.audience-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.audience-card { min-height: 156px; padding: 22px 20px; border-radius: 14px; background: #fff; }
.audience-card h3 { margin: 0 0 12px; color: var(--prx-navy); font-size: 16px; line-height: 1.3; }
.audience-card p { margin: 0; color: #647487; font-size: 13px; line-height: 1.55; }
.data-panel { display: grid; grid-template-columns: 1fr .85fr; gap: 28px; align-items: center; margin-top: 32px; padding: 34px; }
.data-panel h2 { font-size: 29px; }
.data-panel p { max-width: 500px; margin: 0 0 21px; color: var(--prx-body); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 11px 19px; border: 0; border-radius: 6px; background: var(--prx-navy); color: #fff; font-size: 14px; font-weight: 700; text-decoration: none; }
.button:hover { background: #24588a; }
.chart-card { display: flex; min-height: 180px; flex-direction: column; justify-content: space-between; padding: 18px 20px 0; border-radius: 14px; background: #f0f6fb; }
.chart-label { color: #657a8c; font-size: 10px; font-weight: 750; letter-spacing: .06em; }
.bars { display: flex; height: 115px; align-items: end; justify-content: space-around; gap: 10px; }
.bars i { display: block; width: 7%; height: var(--h); background: #4a96d4; }
.team-section { padding: 48px 24px 64px; background: #fff; }
.team-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 44px; align-items: center; }
.team-intro { margin: 0 0 20px; color: var(--prx-body); }
.team-profile { display: flex; gap: 18px; align-items: center; }
.portrait-placeholder { display: grid; width: 150px; min-width: 150px; height: 112px; place-items: center; padding: 10px; border-radius: 12px; background: #e1eaf2; color: #566b80; font-size: 11px; text-align: center; }
.team-profile p { margin: 0; color: var(--prx-navy); font-weight: 700; }
.contact-card { padding: 28px; border-radius: 17px; background: var(--prx-pale); }
.contact-card h3 { margin: 0 0 8px; color: var(--prx-navy); font: 700 23px/1.25 var(--prx-font); }
.contact-card p { margin: 0 0 17px; color: var(--prx-body); font-size: 14px; }
.placeholder-note { display: block; margin-top: 10px; color: #6f7f90; font-size: 11px; }
.site-footer { padding: 20px 24px; background: #f4f7fa; color: #65798c; font-size: 12px; text-align: center; }
.site-footer p { margin: 0; }

@media (max-width: 940px) {
  .site-header { min-height: 82px; padding: 10px 20px; }
  .desktop-nav, .sign-in { display: none; }
  .mobile-menu { display: block; position: relative; }
  .mobile-menu summary { padding: 9px 12px; border: 1px solid #d7e1ec; border-radius: 7px; color: var(--prx-navy); cursor: pointer; font-size: 14px; font-weight: 700; list-style: none; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu nav { position: absolute; top: calc(100% + 10px); right: 0; display: grid; min-width: 190px; padding: 8px; border: 1px solid #dce5ee; border-radius: 10px; background: #fff; box-shadow: 0 12px 30px #07132f1c; }
  .mobile-menu nav a { padding: 10px; text-decoration: none; }
  .about-panel { margin-left: 0; }
  .workflow-panel { margin-right: 0; }
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 84px; }
  .site-header { min-height: 72px; }
  .brand-name { font-size: 20px; }
  .brand-mark { width: 30px; height: 30px; }
  .brand-tagline { margin-left: 40px; font-size: 11px; }
  .hero { min-height: 270px; padding: 48px 24px; }
  .hero h1 { font-size: clamp(35px, 10vw, 46px); }
  .hero-subtitle { max-width: 330px; margin-right: auto; margin-left: auto; font-size: 19px; }
  .dna-field { padding: 28px 16px 42px; background-attachment: scroll; }
  .about-panel, .workflow-panel, .data-panel { display: block; width: 100%; margin: 0; padding: 24px; border-radius: 18px; }
  .workflow-callout { margin-top: 20px; }
  .workflow-panel { margin-top: 20px; }
  .steps { grid-template-columns: 1fr; gap: 10px; }
  .step { min-height: 0; padding: 15px; }
  .step-number { margin-bottom: 6px; }
  .download-option { padding: 10px 0 0; }
  .audiences { padding: 38px 0 8px; }
  .audience-grid { grid-template-columns: 1fr; gap: 10px; }
  .audience-card { min-height: auto; padding: 18px; }
  .data-panel { margin-top: 20px; }
  .chart-card { margin-top: 22px; }
  .team-section { padding: 38px 20px; }
  .team-grid { grid-template-columns: 1fr; gap: 24px; }
  .team-profile { align-items: flex-start; }
  .portrait-placeholder { width: 112px; min-width: 112px; height: 96px; }
  .contact-card { padding: 22px; }
}

/* Dedicated business inquiry page. */
.contact-page { min-height: calc(100vh - 90px); background: #fff; color: var(--prx-ink); font-family: var(--prx-font) !important; font-size: 16px !important; line-height: 1.6 !important; }
.contact-hero { display: flex; min-height: 270px; flex-direction: column; align-items: flex-start; justify-content: flex-end; padding: 0 max(28px, calc((100vw - 1230px) / 2)) 20px; background: linear-gradient(90deg, #16335c 0%, #1f4783 25%, #204884 40%, #285daa 50%, #204884 60%, #1f4783 75%, #16335c 100%); color: #fff; }
.contact-hero .eyebrow { color: #c4dfef; }
.contact-hero h1 { margin: 0 0 10px; color: #fff !important; font-family: var(--prx-font) !important; font-size: clamp(36px, 3.1vw, 44px); font-style: italic; line-height: 1.2; }
.contact-hero p:last-child { margin: 0; color: #cfcfcf; font-size: clamp(17px, 1.4vw, 20px); font-style: italic; }
.contact-hero .eyebrow { margin-bottom: 13px; font-size: 13px; line-height: 1.3; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 820px) minmax(280px, 350px); gap: 60px; width: min(1230px, calc(100% - 48px)); margin: 30px auto 90px; align-items: start; }
.inquiry-card, .contact-aside { padding: 48px; border-radius: 12px; background: var(--prx-pale); }
.inquiry-card { min-height: 790px; }
.inquiry-card h2, .contact-aside h2 { margin: 0 0 8px; color: var(--prx-navy); font-size: 28px; line-height: 1.3; }
.inquiry-intro, .contact-aside p { color: var(--prx-body); font-size: 16px !important; line-height: 1.4 !important; }
.inquiry-form { display: grid; gap: 22px; margin-top: 30px; font-family: var(--prx-font); font-size: 16px !important; line-height: 1.4 !important; }
.inquiry-form label { display: grid; gap: 8px; color: var(--prx-navy); font-size: 16px; font-weight: 600; line-height: 1.3; }
.inquiry-form input, .inquiry-form textarea { width: 100%; min-height: 58px; padding: 13px 15px; border: 1px solid #bfcfde !important; border-radius: 6px; background: #fff !important; color: var(--prx-ink); font-family: var(--prx-font); font-size: 16px; line-height: 1.4; }
.inquiry-form input::placeholder, .inquiry-form textarea::placeholder { color: #8c99a6; opacity: 1; }
.inquiry-form textarea { min-height: 178px; resize: vertical; }
.contact-aside { min-height: 280px; margin-top: 40px; padding: 28px; }
.contact-aside h2 { font-size: 22px; }
.contact-aside p { max-width: 290px; margin-top: 14px; }
.inquiry-form input:focus, .inquiry-form textarea:focus { outline: 3px solid #b7d0f0; outline-offset: 1px; }
.inquiry-status { margin: 22px 0 0; padding: 14px 16px; border-left: 4px solid #2a83c6; background: #fff; color: var(--prx-navy); }
.inquiry-status-error { border-left-color: #a13a3a; }
@media (max-width: 760px) { .contact-hero { min-height: 230px; padding: 42px 24px 20px; } .contact-layout { grid-template-columns: 1fr; gap: 22px; margin-top: 28px; } .inquiry-card { min-height: 0; padding: 28px 22px; } .contact-aside { min-height: 0; margin-top: 0; } }

/* Screenshot-matched proportions: the supplied views are scroll states of one page. */
 .site-header { position: sticky; top: 0; min-height: 90px; padding-top: 7px; padding-bottom: 7px; }
.brand-name { font-size: clamp(24px, 2.2vw, 32px); }
.brand-mark { width: 70px; height: 42px; border: 0; border-radius: 0; color: #173963; font-size: 17px; }
.desktop-nav { gap: clamp(14px, 2.4vw, 38px); font-size: clamp(19px, 1.55vw, 26px); }
.desktop-nav a { padding: 9px 16px; }
.sign-in { font-size: 24px; }
.sign-in svg { display: block; width: 26px; height: 26px; fill: none; stroke: #111; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero { min-height: 196px; padding: 30px 24px; }
.hero::before { display: none; }
.hero h1 { font-size: clamp(38px, 3.6vw, 52px); }
.hero h1 em { font-weight: 400; }
.hero-subtitle { margin-top: 14px; font-size: clamp(20px, 1.8vw, 28px); }
.dna-field { padding: 30px 0 34px; background-attachment: fixed; }
.section-wrap { width: 100%; max-width: none; }
.panel { border-radius: 0; }
.about-panel { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(260px, .75fr); gap: 36px; width: 100%; min-height: 310px; margin: 0; padding: 34px clamp(24px, 4vw, 76px); }
.about-panel h2 { font-size: clamp(26px, 2.1vw, 36px); }
.about-copy { max-width: 850px; font-size: clamp(16px, 1.2vw, 20px); line-height: 1.45; }
.workflow-panel { width: 100%; min-height: 320px; margin: 30px 0 0; padding: 34px clamp(24px, 5vw, 86px); }
.workflow-panel h2 { font-size: clamp(24px, 2.1vw, 34px); }
.steps { grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(165px, .9fr); gap: clamp(10px, 2vw, 28px); }
.step { min-height: 150px; padding: 22px; border-radius: 12px; }
.step p, .download-option { font-size: clamp(15px, 1.15vw, 19px); line-height: 1.4; }
.audiences { min-height: 370px; margin-top: 30px; padding: 34px clamp(24px, 4vw, 76px); background: #fff; }
.audiences .eyebrow { color: #858e98; }
.audiences .section-title { color: var(--prx-navy); font-size: clamp(27px, 2.2vw, 37px); }
.audience-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); }
.audience-card { min-height: 178px; padding: 22px; border-radius: 13px; background: #e8f0fa; }
.audience-card h3 { font-size: clamp(16px, 1.15vw, 20px); }
.audience-card p { font-size: clamp(13px, .95vw, 16px); }
.offerings { min-height: 440px; margin-top: 30px; padding: 34px clamp(24px, 4vw, 76px); background: #fff; }
.offerings > h2 { margin: 0 0 26px; color: var(--prx-navy); font: italic 700 clamp(24px, 2.15vw, 35px)/1.25 var(--prx-font); }
.offerings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 100px); }
.offering { position: relative; min-height: 306px; padding: 0 10px; }
.offering h3 { margin: 0 0 16px; color: var(--prx-navy); font: italic 700 clamp(24px, 2vw, 33px)/1.2 var(--prx-font); text-align: center; }
.offering p, .offering li { color: #929292; font-size: clamp(15px, 1.1vw, 19px); line-height: 1.5; }
.offering ul { margin: 0 0 18px; padding-left: 30px; }
.chart-card { min-height: 148px; margin: 14px 0 10px; padding: 14px 18px 0; border-radius: 0; }
.bars { height: 100px; }
.text-action { display: inline-flex; align-items: center; gap: 14px; color: var(--prx-navy); font: italic 22px var(--prx-font); text-decoration: none; }
.text-action span { display: inline-grid; width: 50px; height: 50px; place-items: center; border: 2px solid #111; border-radius: 50%; color: #111; font-style: normal; }
.team-section { min-height: 380px; margin-top: 30px; padding: 36px clamp(24px, 4vw, 76px); }
.team-grid { width: 100%; max-width: none; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 5vw, 90px); }
.team-section .section-title { font-size: clamp(27px, 2.2vw, 36px); }
.portrait-placeholder { border-radius: 8px; }
.contact-card { border-radius: 15px; }
.team-section::before { display: block; height: 30px; margin: -66px calc(clamp(24px, 4vw, 76px) * -1) 36px; background: var(--prx-deep) url("assets/dna-helix.svg") center 52% / cover no-repeat; content: ""; }

@media (max-width: 940px) {
  .site-header { position: sticky; top: 0; min-height: 76px; }
  .hero { min-height: 230px; }
  .about-panel { grid-template-columns: 1fr; }
  .workflow-panel, .audiences, .offerings, .team-section { margin-top: 20px; }
  .offerings-grid { gap: 24px; }
}
@media (max-width: 640px) {
  .site-header { min-height: 72px; }
  .brand-mark { width: 42px; height: 32px; font-size: 12px; }
  .hero { min-height: 260px; }
  .dna-field { padding: 20px 12px 26px; background-attachment: scroll; }
  .about-panel, .workflow-panel, .data-panel { display: block; width: 100%; min-height: 0; margin: 0; padding: 25px 22px; border-radius: 0; }
  .about-panel { margin: 0; }
  .workflow-panel { margin-top: 20px; }
  .steps { grid-template-columns: 1fr; }
  .step { min-height: 90px; }
  .audiences, .offerings, .team-section { min-height: 0; margin-top: 20px; padding: 28px 20px; }
  .audience-grid, .offerings-grid, .team-grid { grid-template-columns: 1fr; }
  .audience-card { min-height: 0; }
  .offering { min-height: 0; padding: 12px 0 26px; }
  .offering + .offering { border-top: 1px solid #e5eaf0; padding-top: 26px; }
  .text-action span { width: 42px; height: 42px; }
}

/* Keep every desktop menu item readable when WordPress/host CSS sets link colors. */
.site-header { gap: clamp(14px, 2vw, 32px); padding-left: max(28px, calc((100vw - 1430px) / 2)); padding-right: max(28px, calc((100vw - 1430px) / 2)); overflow: visible; }
.site-header .brand { flex: 0 1 400px; min-width: 250px; }
.site-header .brand-logo { display: block; width: clamp(245px, 15vw, 360px); max-height: 82px; object-fit: contain; object-position: left center; }
.site-header .desktop-nav {
  display: flex !important;
  flex: 1 1 auto;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  gap: clamp(12px, 1.7vw, 34px);
  color: #173963 !important;
  visibility: visible !important;
  position: relative !important;
  z-index: 2;
}
.site-header .desktop-nav a,
.site-header .desktop-nav a:link,
.site-header .desktop-nav a:visited {
  display: inline-flex !important;
  flex: 0 0 auto;
  align-items: center;
  color: #173963 !important;
  opacity: 1 !important;
  visibility: visible !important;
  mix-blend-mode: normal;
  white-space: nowrap;
}
.site-header .desktop-nav a:nth-child(3),
.site-header .desktop-nav a:nth-child(4) { display: inline-flex !important; color: #173963 !important; }
.site-header .desktop-nav a:first-child { color: #173963 !important; }
.site-header .desktop-nav a:hover { color: #23689a !important; }
.site-header .sign-in { flex: 0 0 28px; color: #173963 !important; }

@media (max-width: 1100px) {
  .site-header .desktop-nav,
  .site-header .sign-in { display: none !important; }
  .site-header .mobile-menu { display: block; }
}
@media (max-width: 640px) {
  .site-header { padding-left: 16px; padding-right: 16px; }
  .site-header .brand { flex: 0 1 230px; min-width: 0; }
  .site-header .brand-logo { width: min(230px, 62vw); max-height: 62px; }
}

/* Use a consistent sans-serif family across the complete WordPress page. */
body.predictrx-site,
body.predictrx-site * { font-family: var(--prx-font) !important; }

/* Open up the DNA-background separators between the white content sections. */
.workflow-panel,
.audiences,
.offerings { margin-top: 100px !important; }
.team-section { position: relative; margin-top: 100px !important; }
.team-section::before {
  position: absolute;
  top: -100px;
  right: 0;
  left: 0;
  height: 100px;
  margin: 0;
  background: var(--prx-deep) url("assets/dna-helix.svg") center 52% / cover no-repeat;
  content: "";
}
@media (max-width: 940px) {
  .workflow-panel,
  .audiences,
  .offerings,
  .team-section { margin-top: 64px !important; }
  .team-section::before { top: -64px; height: 64px; }
}
@media (max-width: 640px) {
  .workflow-panel,
  .audiences,
  .offerings,
  .team-section { margin-top: 40px !important; }
  .team-section::before { top: -40px; height: 40px; }
}

/* Approved PRx homepage refinement. */
.site-header {
  z-index: 10;
  box-shadow: 0 5px 14px rgb(7 19 47 / 16%);
}
.site-header .desktop-nav {
  top: 7px;
  gap: clamp(12px, 1.7vw, 30px);
  font-family: var(--prx-font);
  font-size: 18px;
  font-style: italic;
}
.site-header .desktop-nav a,
.site-header .desktop-nav a:link,
.site-header .desktop-nav a:visited {
  padding: 8px 12px;
}
.hero {
  background: linear-gradient(90deg,
    #16335c 0%,
    #1f4783 25%,
    #204884 40%,
    #285daa 50%,
    #204884 60%,
    #1f4783 75%,
    #16335c 100%);
}
.hero h1 { font-style: italic; }
.hero-subtitle { color: #cfcfcf; font-size: clamp(17px, 1.4vw, 20px); }
.offerings > h2 { font-style: italic; }
.offering {
  display: flex;
  min-height: 360px;
  flex-direction: column;
  align-items: flex-start;
}
.offering h3 {
  align-self: stretch;
  margin-bottom: 12px;
  font-family: var(--prx-font);
  font-size: clamp(21px, 1.65vw, 25px);
  font-style: italic;
  text-align: left;
}
.offering p {
  margin: 0 0 12px;
}
.chart-card {
  width: min(100%, 420px);
  flex: 0 0 auto;
}
.spreadsheet-illustration {
  display: block;
  width: min(100%, 440px);
  height: auto;
  margin: 4px 0 12px;
}
.offering-button {
  min-height: 44px;
  margin-top: auto;
  padding: 11px 19px;
  font-family: var(--prx-font);
  font-size: 14px;
  font-style: normal;
}
@media (max-width: 640px) {
  .site-header .desktop-nav { top: 0; }
  .mobile-menu nav a { font-family: var(--prx-font); font-size: 16px; font-style: italic; }
  .offering { min-height: 0; }
  .offering-button { margin-top: 8px; }
}

/* Full Site Editing block-theme layout. */
.site-header {
  display: flex !important;
  min-height: 90px;
  gap: clamp(14px, 2vw, 32px);
  padding: 7px max(28px, calc((100vw - 1430px) / 2));
}
.site-header .wp-block-site-logo {
  flex: 0 1 400px;
  width: clamp(245px, 15vw, 360px);
  min-width: 230px;
  margin: 0;
}
.site-header .wp-block-site-logo img {
  display: block;
  width: 100%;
  max-height: 82px;
  object-fit: contain;
  object-position: left center;
}
.site-header nav.wp-block-navigation.desktop-nav {
  display: block !important;
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  color: #173963 !important;
  font-family: var(--prx-font) !important;
  font-size: clamp(17px, 1.3vw, 22px);
  font-style: italic !important;
  visibility: visible !important;
}
.site-header .wp-block-navigation__container {
  display: grid !important;
  grid-auto-flow: column !important;
  grid-auto-columns: max-content !important;
  grid-template-columns: repeat(4, max-content) !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: clamp(8px, 1.4vw, 24px);
  width: 100%;
  font-style: italic !important;
}
.site-header .wp-block-navigation__container.is-vertical { grid-auto-flow: column !important; }
.site-header .wp-block-navigation-item__content,
.site-header .wp-block-navigation-item__content:link,
.site-header .wp-block-navigation-item__content:visited {
  display: inline-flex;
  align-items: center;
  padding: 9px 12px;
  background: transparent !important;
  color: #173963 !important;
  opacity: 1 !important;
  text-decoration: none;
  white-space: nowrap;
  font-style: italic !important;
}
.site-header .wp-block-navigation-item:first-child > .wp-block-navigation-item__content {
  background: var(--prx-sky) !important;
}
.site-header .wp-block-navigation-item__content:hover { color: #23689a !important; }
.site-header .wp-block-navigation__responsive-container-open { color: var(--prx-navy); }
.site-header .wp-block-navigation__responsive-container-content { padding: 0; }
.site-header .prx-sign-in { flex: 0 0 auto; margin: 0; font-size: 24px; }
.site-header .prx-sign-in a { color: var(--prx-navy); text-decoration: none; }
.site-header .wp-block-group__inner-container,
.prx-main > .wp-block-post-content > *,
.prx-page-main > .wp-block-post-content > * { max-width: none; }
.wp-site-blocks > .wp-block-template-part:first-child { display: contents; }
.about-panel > *, .team-grid > *, .offerings-grid > *, .audience-grid > * { min-width: 0; max-width: none; }
.workflow-callout .callout-label { margin: 0 0 12px; color: #286c99; font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.audience-card h3, .offering h3, .contact-card h3 { font-family: var(--prx-font); font-style: normal; }
.bars .prx-bar { align-self: end; width: 7%; background: #4a96d4; }
.bars .prx-bar-1 { height: 38%; }
.bars .prx-bar-2 { height: 60%; }
.bars .prx-bar-3 { height: 48%; }
.bars .prx-bar-4 { height: 82%; }
.bars .prx-bar-5 { height: 66%; }
.bars .prx-bar-6 { height: 100%; }
.bars .prx-bar-7 { height: 56%; }
.bars .prx-bar-8 { height: 74%; }
.bars .prx-bar-9 { height: 42%; }
.offering-actions { width: 100%; margin-top: auto; }
.offering-actions .wp-block-button { margin-top: auto; }
.offering-actions .wp-block-button__link { display: inline-flex; gap: 10px; min-height: 44px; align-items: center; }
.editor-styles-wrapper,
.editor-styles-wrapper * { font-family: var(--prx-font) !important; }

@media (max-width: 1100px) {
  .site-header { min-height: 76px; padding-right: 20px; padding-left: 20px; }
  .site-header .wp-block-site-logo { flex: 0 1 clamp(190px, 23vw, 300px); width: clamp(190px, 23vw, 300px); min-width: 190px; }
  .site-header .wp-block-navigation__container,
  .site-header .wp-block-navigation__container.is-vertical { align-items: center !important; flex-direction: row !important; justify-content: space-between !important; gap: clamp(6px, 1vw, 14px); }
  .site-header .wp-block-navigation-item__content { padding-right: 7px; padding-left: 7px; font-size: clamp(15px, 1.55vw, 17px); }
  .site-header .prx-sign-in { display: none; }
  .about-panel { grid-template-columns: 1fr; }
  .workflow-panel, .audiences, .offerings, .team-section { margin-top: 64px !important; }
  .team-section::before { top: -64px; height: 64px; }
}
@media (max-width: 760px) {
  .site-header { min-height: 72px; padding-right: 16px; padding-left: 16px; }
  .site-header .wp-block-site-logo { flex-basis: 230px; width: min(230px, 62vw); min-width: 0; }
  .site-header .wp-block-navigation__responsive-container-open { display: flex; }
  .site-header .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none; }
  .site-header .wp-block-navigation__responsive-container-close { display: flex; }
  .site-header .wp-block-navigation__responsive-dialog { padding: 24px; }
  .site-header .wp-block-navigation__container { gap: 8px; }
  .site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container,
  .site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container.is-vertical {
    grid-auto-flow: row !important;
    grid-auto-columns: minmax(0, 1fr) !important;
    grid-template-columns: minmax(0, 1fr) !important;
    align-items: start !important;
    justify-content: start !important;
  }
  .site-header .wp-block-navigation-item__content { font-size: 18px; }
  .hero { min-height: 220px; }
  .about-panel, .workflow-panel { display: block; min-height: 0; padding: 25px 22px; }
  .workflow-callout { margin-top: 20px; }
  .steps { grid-template-columns: 1fr; }
  .step { min-height: 90px; }
  .audiences, .offerings, .team-section { min-height: 0; margin-top: 40px !important; padding: 28px 20px; }
  .team-section::before { top: -40px; height: 40px; }
  .audience-grid, .offerings-grid, .team-grid { grid-template-columns: 1fr; }
  .audience-card { min-height: 0; }
  .offering { min-height: 0; padding: 12px 0 26px; }
  .offering + .offering { border-top: 1px solid #e5eaf0; padding-top: 26px; }
}

/* Figma typography pairing: keep the sans family; italicize the matching elements. */
.site-header nav.wp-block-navigation.desktop-nav,
.site-header nav.wp-block-navigation.desktop-nav .wp-block-navigation__container,
.site-header nav.wp-block-navigation.desktop-nav .wp-block-navigation-item__content { font-style: italic !important; }
.hero h1,
.hero .hero-subtitle,
.offering h3 { font-style: italic !important; }
.hero h1,
.hero h1 strong { color: #ffffff !important; }
.about-panel h2,
.workflow-panel h2,
.audiences .section-title,
.offerings > h2,
.team-section .section-title,
.contact-card h3 { font-style: normal !important; }
.prx-contact-page .site-header .wp-block-navigation-item:first-child > .wp-block-navigation-item__content { background: transparent !important; }
.prx-contact-page .site-header .wp-block-navigation-item:nth-child(4) > .wp-block-navigation-item__content { background: var(--prx-sky) !important; }

/* Match the contact submit control to Figma and override Elementor's global button preset. */
body.predictrx-site .contact-page .inquiry-form button.button {
  display: inline-flex !important;
  width: 220px !important;
  max-width: 100%;
  min-width: 0;
  min-height: 56px !important;
  align-items: center !important;
  justify-content: flex-start !important;
  padding: 0 28px !important;
  border: 0 !important;
  border-radius: 4px !important;
  background: #173863 !important;
  box-shadow: none !important;
  color: #ffffff !important;
  font-family: var(--prx-font) !important;
  font-size: 17px !important;
  font-style: normal !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  text-align: left !important;
}
body.predictrx-site .contact-page .inquiry-form button.button:hover,
body.predictrx-site .contact-page .inquiry-form button.button:focus-visible { background: #173863 !important; color: #ffffff !important; }

/* Bring the live inquiry page back to the Figma contact-page scale and hierarchy. */
body.predictrx-site .wp-site-blocks > .wp-block-template-part:first-child { display: contents; }
body.predictrx-site .contact-page { font-size: 16px !important; line-height: 1.6 !important; }
body.predictrx-site .contact-page .contact-hero {
  display: flex;
  min-height: 270px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 max(28px, calc((100vw - 1230px) / 2)) 20px;
}
body.predictrx-site .contact-page .contact-hero .eyebrow { margin: 0 0 13px; font-size: 13px !important; line-height: 1.3 !important; }
body.predictrx-site .contact-page .contact-hero h1 {
  margin: 0 0 10px;
  color: #ffffff !important;
  font-family: var(--prx-font) !important;
  font-size: clamp(36px, 3.1vw, 44px) !important;
  font-style: italic !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
}
body.predictrx-site .contact-page .contact-hero p:last-child { margin: 0; color: #cfcfcf !important; font-size: 20px !important; font-style: italic !important; line-height: 1.3 !important; }
body.predictrx-site .contact-page .contact-layout { grid-template-columns: minmax(0, 820px) minmax(280px, 350px); gap: 60px; margin-top: 30px; }
body.predictrx-site .contact-page .inquiry-card { min-height: 790px; padding: 48px; }
body.predictrx-site .contact-page .inquiry-card > * { margin-block-start: 0; margin-block-end: 0; }
body.predictrx-site .contact-page .inquiry-card > h2 { margin: 0 0 8px; font-size: 28px !important; line-height: 1.3 !important; }
body.predictrx-site .contact-page .inquiry-card > .inquiry-intro { margin: 0 0 47px; font-size: 16px !important; line-height: 1.3 !important; }
body.predictrx-site .contact-page .inquiry-card > .wp-block-shortcode { margin: 0; }
body.predictrx-site .contact-page .inquiry-form { gap: 34px; margin: 0; font-size: 16px !important; line-height: 1.4 !important; }
body.predictrx-site .contact-page .inquiry-form label { gap: 8px; font-size: 16px !important; line-height: 1.3 !important; }
body.predictrx-site .contact-page .inquiry-form input,
body.predictrx-site .contact-page .inquiry-form textarea { min-height: 58px; border: 1px solid #bfcfde !important; background: #ffffff !important; font-size: 16px !important; line-height: 1.4 !important; }
body.predictrx-site .contact-page .inquiry-form textarea { min-height: 178px; }
body.predictrx-site .contact-page .inquiry-form button.button { margin-top: 16px; }
body.predictrx-site .contact-page .contact-aside { min-height: 280px; margin-top: 40px; padding: 28px; }
body.predictrx-site .contact-page .contact-aside h2 { margin: 0 0 8px; font-size: 22px !important; line-height: 1.3 !important; }
body.predictrx-site .contact-page .contact-aside p { max-width: 290px; margin: 14px 0 0; font-size: 16px !important; line-height: 1.3 !important; }
body.predictrx-site.prx-contact-page .site-header .wp-block-navigation-item:first-child > .wp-block-navigation-item__content { background: transparent !important; }
body.predictrx-site.prx-contact-page .site-header .wp-block-navigation-item:nth-child(4) > .wp-block-navigation-item__content { background: var(--prx-sky) !important; }
@media (max-width: 760px) {
  body.predictrx-site .contact-page .contact-hero { min-height: 230px; padding: 42px 24px 20px; }
  body.predictrx-site .contact-page .contact-layout { grid-template-columns: 1fr; gap: 22px; margin-top: 28px; }
  body.predictrx-site .contact-page .inquiry-card { min-height: 0; padding: 28px 22px; }
  body.predictrx-site .contact-page .inquiry-card > .inquiry-intro { margin-bottom: 24px; }
  body.predictrx-site .contact-page .contact-aside { min-height: 0; margin-top: 0; }
}

/* An editable Coming Soon page used as the temporary static homepage. */
body.predictrx-site.prx-coming-soon-page .wp-site-blocks > .wp-block-template-part { display: none !important; }
body.predictrx-site.prx-coming-soon-page .prx-main { width: 100%; min-height: 100vh; margin: 0 !important; }
.coming-soon-screen {
  position: relative;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  margin: 0 !important;
  padding: 32px;
  background: var(--prx-deep) url("assets/dna-helix.svg") center / cover no-repeat;
  color: #fff;
  text-align: center;
}
.coming-soon-screen::before { position: absolute; inset: 0; background: linear-gradient(120deg, rgb(7 19 47 / 72%), rgb(36 77 133 / 55%)); content: ""; }
.coming-soon-screen .coming-soon-title { position: relative; z-index: 1; max-width: 1000px; margin: 0; color: #fff !important; font-family: var(--prx-font) !important; font-size: clamp(36px, 6vw, 68px); font-style: normal; font-weight: 650; line-height: 1.15; letter-spacing: .01em; text-align: center; text-wrap: balance; }

/* Keep sibling cards equal-height like the Figma reference at every grid breakpoint. */
.steps { align-items: stretch !important; }
.steps .step { height: 165px !important; min-height: 165px !important; }
.audience-grid { align-items: stretch !important; grid-auto-rows: 212px !important; }
.audience-grid .audience-card { height: 212px !important; min-height: 212px !important; }
