/*
 * My Surgery Data Report. Desktop values come from Figma 570QjuDDPW6DqzojYIqMOO: nodes 413:694 (form)
 * and 413:986 (after submit), the "48/50 Scandia" variant, sized to Paradigm's brand type scale.
 * Every rule is scoped under .plp-mysurgerydatareport-2026 because the theme's main.css
 * (Bootstrap reboot + global h1/h2/p sizes) stays loaded. Fonts are the theme's Scandia faces.
 */

.plp-mysurgerydatareport-2026 {
	--msr-navy: #253746;
	--msr-grey: #62666a;
	--msr-orange: #de4726;
	--msr-blue: #25b4e8;
	--msr-rule: #20b3e8;
	--msr-panel: #ace3f6;
	--msr-regular: "Scandia Regular", Arial, Helvetica, sans-serif;
	--msr-medium: "Scandia Medium", Arial, Helvetica, sans-serif;
	/*
	 * Content column, matching the theme's breadcrumb and footer: at 1200px and up, the centered
	 * col-xl-10 of the 1280px container; below that, the breadcrumb's 15px gutter. Percentages in
	 * padding resolve against the full-width section, so this tracks the viewport like the theme does.
	 */
	--msr-container: min(100%, 1280px);
	/* One body copy size for the lede, list, panel text, and PDF link (brand: 20/24). */
	--msr-body-size: 20px;
	--msr-body-lh: 24px;
	/* Download panel padding; the after-submit box is positioned from these. */
	--msr-panel-pt: 130px;
	--msr-panel-pl: 46px;

	display: block;
	overflow-x: hidden;
	overflow-x: clip;
	color: var(--msr-navy);
	font-family: var(--msr-regular);
	font-weight: 400;
}

/*
 * The theme sets color #62666a directly on section, div, p, ul and li. Make them inherit instead,
 * so each column's color applies: grey intro (.msr-intro), navy everywhere else (this root).
 * Class rules below (eyebrow, ad headline, inputs, button, errors) are more specific and win.
 */
.plp-mysurgerydatareport-2026 :is(section, div, p, ul, li) {
	color: inherit;
}

/*
 * The theme's reset sets 16px/20px Scandia Regular on nearly every element, inline ones included.
 * Inline text (e.g. links, bold, or spans in HubSpot's thank-you and consent text) should match its
 * paragraph instead.
 */
.plp-mysurgerydatareport-2026 :is(a, b, strong, em, i, u, span, small, abbr, cite, mark, sub, sup) {
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
}

.plp-mysurgerydatareport-2026 .msr-hero__inner {
	display: flex;
	box-sizing: border-box;
	width: var(--msr-container);
	margin: 0 auto;
	padding: 0 15px;
}

@media (min-width: 1200px) {
	.plp-mysurgerydatareport-2026 .msr-hero__inner {
		padding: 0 calc(var(--msr-container) / 12 + 15px);
	}
}

/* Left column */

.plp-mysurgerydatareport-2026 .msr-intro {
	flex: 1 1 auto;
	min-width: 0;
	padding: 88px 48px 80px 0;
	color: var(--msr-grey);
}

.plp-mysurgerydatareport-2026 .msr-intro > * {
	max-width: 634px;
}

.plp-mysurgerydatareport-2026 .msr-eyebrow {
	margin: 0 0 20px;
	color: var(--msr-orange);
	font-family: var(--msr-medium);
	font-size: 18px;
	font-weight: 700;
	line-height: 24px;
	letter-spacing: 0.0556em;
	text-transform: uppercase;
}

.plp-mysurgerydatareport-2026 .msr-title {
	margin: 0 0 31px;
	color: inherit;
	font-family: var(--msr-regular);
	font-size: 36px;
	font-weight: 400;
	line-height: 40px;
	letter-spacing: -0.03em;
	/* The inset column is narrower than the mock; balance lines instead of leaving "Impact" alone. */
	text-wrap: balance;
}

/*
 * "Wakely Consulting Group" stays on one line. At 36px it is about 417px wide, wider than the column
 * on phones under 480px, where it wraps rather than run off the screen.
 */
.plp-mysurgerydatareport-2026 .msr-nowrap {
	white-space: nowrap;
}

@media (max-width: 479.98px) {
	.plp-mysurgerydatareport-2026 .msr-nowrap { white-space: normal; }
}

.plp-mysurgerydatareport-2026 .msr-lede {
	max-width: 593px;
	margin: 0;
	font-size: var(--msr-body-size);
	line-height: var(--msr-body-lh);
}

.plp-mysurgerydatareport-2026 .msr-rule {
	height: 0;
	margin: 45px 0;
	border: 0;
	border-top: 1px solid var(--msr-rule);
	opacity: 1;
}

.plp-mysurgerydatareport-2026 .msr-list-title {
	margin: 0 0 22px;
	color: inherit;
	font-family: var(--msr-medium);
	font-size: 24px;
	font-weight: 400;
	line-height: 28px;
}

.plp-mysurgerydatareport-2026 .msr-list {
	display: flex;
	flex-direction: column;
	gap: 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.plp-mysurgerydatareport-2026 .msr-list li {
	position: relative;
	max-width: 625px;
	margin: 0;
	padding-left: 31px;
	font-size: var(--msr-body-size);
	line-height: var(--msr-body-lh);
}

.plp-mysurgerydatareport-2026 .msr-list li::before {
	content: "";
	position: absolute;
	top: 2px;
	left: 0;
	width: 21px;
	height: 21px;
	background: url("assets/check.svg") no-repeat center / contain;
}

/* Right column: inset to the same column edge as the left, so the photo never gets very wide. */

.plp-mysurgerydatareport-2026 .msr-aside {
	flex: 0 0 47.5%;
	min-width: 0;
}

.plp-mysurgerydatareport-2026 .msr-download {
	position: relative;
	/* 86px under the button matches the design's panel height with the three-field form. */
	padding: var(--msr-panel-pt) var(--msr-panel-pl) 86px;
	background: var(--msr-panel);
}

.plp-mysurgerydatareport-2026 .msr-download__title {
	margin: 0 0 12px;
	text-wrap: balance;
	color: var(--msr-navy);
	font-family: var(--msr-medium);
	font-size: 24px;
	font-weight: 400;
	line-height: 26px;
}

.plp-mysurgerydatareport-2026 .msr-download__text {
	margin: 0 0 31px;
	font-size: var(--msr-body-size);
	line-height: var(--msr-body-lh);
}

.plp-mysurgerydatareport-2026 .msr-ad {
	position: relative;
	/* The design's 600×500 shape, at whatever width the column gives it. */
	aspect-ratio: 6 / 5;
	overflow: hidden;
	background: var(--msr-navy);
}

.plp-mysurgerydatareport-2026 .msr-ad__photo {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	/*
	 * photo.jpg is the original flipped and framed with foliage on her left. Anchored top-left, her face
	 * stays clear of the headline at every column width; wider boxes crop from the right.
	 */
	object-position: 0 0;
}

.plp-mysurgerydatareport-2026 .msr-ad__logo {
	position: absolute;
	top: 35px;
	left: 27px;
	width: 164px;
	height: auto;
}

.plp-mysurgerydatareport-2026 .msr-ad__headline {
	position: absolute;
	/* Same place in the box as the design (167px of 500). */
	top: 33.4%;
	left: 24px;
	max-width: 288px;
	margin: 0;
	color: #fff;
	font-family: var(--msr-medium);
	/* The page title's size (36/40). */
	font-size: 36px;
	font-weight: 400;
	line-height: 40px;
	letter-spacing: -0.03em;
}

.plp-mysurgerydatareport-2026 .msr-ad__headline::after {
	content: "";
	display: block;
	width: 56px;
	height: 5px;
	margin-top: 16px;
	background: var(--msr-blue);
}

/* HubSpot legacy form, rendered unstyled (css: '') into #plp-hubspot-form */

/*
 * Reserve the form's rendered height before HubSpot draws it, so the photo below doesn't jump.
 * Per field: 57px input + 16px gap; plus 31px to the button and the 45px button, minus one gap.
 * --plp-form-fields comes from Settings → Landing Pages (or config.php 'formFields').
 */
.plp-mysurgerydatareport-2026 .plp-form[style*="--plp-form-fields"] {
	min-height: calc(var(--plp-form-fields) * 73px + 60px);
}

.plp-mysurgerydatareport-2026 .plp-form form {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin: 0;
}

.plp-mysurgerydatareport-2026 .plp-form fieldset {
	max-width: none;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.plp-mysurgerydatareport-2026 .plp-form .hs-form-field {
	margin: 0;
}

/*
 * The HubSpot form includes a rich-text block with an orange Paradigm wordmark (for where the form is
 * shown on its own). The design has no logo in the panel, so hide image-only rich text. Text blocks,
 * such as a privacy note added in HubSpot later, still show.
 */
.plp-mysurgerydatareport-2026 .plp-form form > :has(> .hs-richtext > img:only-child) {
	display: none;
}

/* Field labels become placeholders (script.js); keep them for screen readers. */
.plp-mysurgerydatareport-2026 .plp-form .hs-form-field > label {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.plp-mysurgerydatareport-2026 .plp-form .hs-field-desc {
	margin: 0 0 6px;
	font-size: 14px;
	line-height: 18px;
}

.plp-mysurgerydatareport-2026 .plp-form .hs-input:not([type="checkbox"]):not([type="radio"]) {
	display: block;
	width: 100%;
	height: 57px;
	margin: 0;
	padding: 0 20px;
	color: #000;
	background: #fff;
	border: 1px solid #cacaca;
	border-radius: 8px;
	font-family: var(--msr-medium);
	font-size: 18px;
	line-height: normal;
	box-shadow: none;
	appearance: none;
}

.plp-mysurgerydatareport-2026 .plp-form .hs-input::placeholder {
	color: #000;
	opacity: 1;
}

.plp-mysurgerydatareport-2026 .plp-form .hs-input:focus {
	outline: 2px solid var(--msr-navy);
	outline-offset: 1px;
}

.plp-mysurgerydatareport-2026 .plp-form .hs-input.invalid.error {
	border-color: var(--msr-orange);
}

.plp-mysurgerydatareport-2026 .plp-form .hs-error-msgs {
	margin: 6px 0 0;
	padding: 0;
	list-style: none;
}

.plp-mysurgerydatareport-2026 .plp-form .hs-error-msgs li,
.plp-mysurgerydatareport-2026 .plp-form .hs-error-msgs label {
	color: #a8321a;
	font-family: var(--msr-medium);
	font-size: 15px;
	line-height: 20px;
}

.plp-mysurgerydatareport-2026 .plp-form .legal-consent-container,
.plp-mysurgerydatareport-2026 .plp-form .legal-consent-container p {
	margin: 0;
	font-size: 13px;
	line-height: 18px;
}

.plp-mysurgerydatareport-2026 .plp-form .hs_submit {
	margin-top: 15px; /* 31px from the last field, with the 16px row gap */
}

.plp-mysurgerydatareport-2026 .plp-form .hs-button {
	height: 45px;
	margin: 0;
	padding: 0 41px 0 24px;
	color: #fff;
	background: var(--msr-navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='12' viewBox='0 0 10 12'%3E%3Cpath d='M10 6 0 12V0z' fill='%2325B4E8'/%3E%3C/svg%3E") no-repeat right 24px center / 9px 11px;
	border: 0;
	border-radius: 999px;
	font-family: var(--msr-medium);
	font-size: 18px;
	line-height: 1;
	letter-spacing: -0.03em;
	cursor: pointer;
	appearance: none;
}

.plp-mysurgerydatareport-2026 .plp-form .hs-button:hover,
.plp-mysurgerydatareport-2026 .plp-form .hs-button:focus-visible {
	background-color: #1a2833;
}

.plp-mysurgerydatareport-2026 .plp-form .hs-button:focus-visible {
	outline: 2px solid var(--msr-navy);
	outline-offset: 2px;
}

/*
 * After submit HubSpot replaces the form with .submitted-message, holding the thank-you message set
 * on the form in HubSpot. Design: the panel heading and intro disappear and a bordered box sits 104px
 * below where the heading was. The heading/intro stay in layout (hidden) and the form container keeps
 * its reserved height, so the panel and the photo below don't move.
 */
.plp-mysurgerydatareport-2026 .msr-download:has(.submitted-message) > :is(.msr-download__title, .msr-download__text) {
	visibility: hidden;
}

.plp-mysurgerydatareport-2026 .plp-form .submitted-message {
	position: absolute;
	top: calc(var(--msr-panel-pt) + 104px);
	left: var(--msr-panel-pl);
	box-sizing: border-box;
	width: min(467px, calc(100% - 2 * var(--msr-panel-pl)));
	padding: 20px;
	border: 1px solid var(--msr-navy);
	border-radius: 10px;
	font-family: var(--msr-regular);
	font-size: var(--msr-body-size);
	line-height: var(--msr-body-lh);
}

/*
 * The message is written in HubSpot's rich text editor (form → Options → thank you message), which
 * puts its own colours, sizes and weights in style="" on nearly every element. Inside the box the
 * page's type wins: those inline values are overridden here, which takes !important.
 */
.plp-mysurgerydatareport-2026 .plp-form .submitted-message * {
	color: inherit !important;
	font-family: inherit;
	font-size: inherit !important;
	font-weight: inherit;
	line-height: inherit !important;
	text-decoration: none !important;
}

/* The theme sets p and h1 to its own sizes directly; inherit the box's 20/24 instead. */
.plp-mysurgerydatareport-2026 .plp-form .submitted-message :is(p, h1, h2, h3, ul, li) {
	margin: 0;
	padding: 0;
	text-align: left !important;
}

/*
 * HubSpot's own share page wraps the message in one more div than the embed does, so the rules below
 * read the message's top level as either the box's children or that div's.
 */
.plp-mysurgerydatareport-2026 .plp-form :is(.submitted-message, .submitted-message > div:only-child) > :not(:first-child) {
	margin-top: 12px;
}

/* First line of a multi-line message is the box title, a paragraph or the editor's heading. */
.plp-mysurgerydatareport-2026 .plp-form :is(.submitted-message, .submitted-message > div:only-child) > :first-child:not(:last-child),
.plp-mysurgerydatareport-2026 .plp-form .submitted-message h1 {
	font-family: var(--msr-medium);
	font-size: 28px !important;
	line-height: 32px !important;
}

/* The page has the brand at its top; a logo in the message would repeat it. */
.plp-mysurgerydatareport-2026 .plp-form .submitted-message img {
	display: none;
}

/*
 * A line the editor put inside the heading ("Access each resource…") becomes the intro under the
 * title. Other editor line breaks are tidied by script.js, which can see the text around them.
 */
.plp-mysurgerydatareport-2026 .plp-form .submitted-message h1 > br {
	display: none;
}

.plp-mysurgerydatareport-2026 .plp-form .submitted-message h1 > span {
	display: block;
	margin-top: 12px;
	font-family: var(--msr-regular);
	font-size: var(--msr-body-size) !important;
	line-height: var(--msr-body-lh) !important;
}

/*
 * Several PDFs: one item each, the link (navy, underlined, blue ▾) over a grey line saying what it is.
 * No bullets; the ▾ marks each one.
 */
.plp-mysurgerydatareport-2026 .plp-form .submitted-message ul {
	list-style: none !important;
}

.plp-mysurgerydatareport-2026 .plp-form :is(.submitted-message, .submitted-message > div:only-child) > ul:not(:first-child) {
	margin-top: 20px;
}

.plp-mysurgerydatareport-2026 .plp-form .submitted-message li {
	color: var(--msr-grey) !important;
}

.plp-mysurgerydatareport-2026 .plp-form .submitted-message li + li {
	margin-top: 16px;
}

.plp-mysurgerydatareport-2026 .plp-form .submitted-message li a {
	color: var(--msr-navy) !important;
}

/* The editor's empty heading and &nbsp; line after the list: no space at the bottom of the box. */
.plp-mysurgerydatareport-2026 .plp-form :is(.submitted-message, .submitted-message > div:only-child) > :is(h2, div):not(:only-child, :has(a, img, li)):last-of-type {
	display: none;
}

/* Links are bold: Scandia Medium, the only heavier face the site loads (a synthetic bold smears). */
.plp-mysurgerydatareport-2026 .plp-form .submitted-message a {
	color: inherit;
	font-family: var(--msr-medium);
	text-decoration: underline !important;
	text-underline-offset: 3px;
}

.plp-mysurgerydatareport-2026 .plp-form .submitted-message a:hover {
	text-decoration-thickness: 2px;
}

/* Blue download triangle after links (inline-block, so it isn't underlined). */
.plp-mysurgerydatareport-2026 .plp-form .submitted-message a::after {
	content: "";
	display: inline-block;
	width: 10px;
	height: 9px;
	margin-left: 5px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='9' viewBox='0 0 10 9'%3E%3Cpath d='M0 0h10L5 9z' fill='%2325B4E8'/%3E%3C/svg%3E") no-repeat center / contain;
}

/*
 * Responsive type follows the live theme (main.css + measured on paradigmcorp.com). The page title
 * uses the site's h2 size, 36/40. It and the body/lead 20/24, subheads 24, the eyebrow 18 and the
 * 28px thank-you title stay the same at every width. The ad headline scales with its photo box.
 */

/* Medium desktops */

@media (max-width: 1199.98px) {
	.plp-mysurgerydatareport-2026 .msr-rule { margin: 36px 0; }
	.plp-mysurgerydatareport-2026 { --msr-panel-pt: 88px; --msr-panel-pl: 32px; }
}

/* Tablet and mobile: stacked, panel and photo full width */

@media (max-width: 991.98px) {
	.plp-mysurgerydatareport-2026 .msr-hero__inner { flex-direction: column; }
	.plp-mysurgerydatareport-2026 .msr-intro { flex: none; max-width: none; padding: 48px 0 56px; }
	.plp-mysurgerydatareport-2026 .msr-rule { margin: 36px 0; }
	.plp-mysurgerydatareport-2026 .msr-aside { margin: 0 -15px; }
	.plp-mysurgerydatareport-2026 { --msr-panel-pt: 48px; --msr-panel-pl: 15px; }
	.plp-mysurgerydatareport-2026 .msr-download { padding-bottom: 56px; }
	.plp-mysurgerydatareport-2026 .msr-download:has(.submitted-message) > :is(.msr-download__title, .msr-download__text) { display: none; }
	.plp-mysurgerydatareport-2026 .plp-form .submitted-message { position: static; width: auto; }
	.plp-mysurgerydatareport-2026 .msr-download > * { max-width: 634px; }
	.plp-mysurgerydatareport-2026 .msr-ad { aspect-ratio: auto; height: clamp(320px, 64vw, 500px); }
}

@media (max-width: 575.98px) {
	.plp-mysurgerydatareport-2026 .msr-eyebrow { margin-bottom: 14px; }
	.plp-mysurgerydatareport-2026 .msr-title { margin-bottom: 20px; }
	.plp-mysurgerydatareport-2026 .msr-list { gap: 16px; }
	.plp-mysurgerydatareport-2026 .msr-ad__logo { top: 24px; left: 20px; width: 130px; }
	.plp-mysurgerydatareport-2026 .msr-ad__headline { top: 80px; left: 20px; max-width: 200px; }
}
