﻿/* =Ab hier kannst du deine CSS-Anpassungen eintragen
------------------------------------------------------- */

/* ==========================================================================
   MAIN / GLOBAL
   Variables, resets, and utility classes shared across multiple sections.
   Section-specific styles live further down; all responsive/@media rules
   are consolidated at the very bottom of this file, grouped by breakpoint,
   instead of a new @media block per section.
   ========================================================================== */

:root {
	--p1-clr: #050b4f;
	--p2-clr: #28A7DE;
}

.p1-clr {
	color: var(--p1-clr);
}

h1, h2, h3, h4, h5, h6 {
	color: #050b4f;
}

body {
	-webkit-tap-highlight-color: transparent;
}
.text-center{
	text-align: center;
}
/* Remove Divi's default sidebar-divider vertical line (from et_right_sidebar body class,
   which our custom archive/single templates pick up even though they render full-width). */
#main-content .container:before {
	content: none !important;
	display: none !important;
}

/* "About p.AI" section - kicker label ("About Us.") - reused as a generic kicker elsewhere */
.pai-kicker {
	border-left: 3px solid #28A7DE;
	padding-left: 12px;
	padding-bottom: 0;
	margin-bottom: 10px;
}

/* Accent-colored word inside a heading - reused across multiple sections */
.pai-accent-word {
	color: #28A7DE;
}

/* Bordered intro quote */
.pai-quote {
	border-left: 3px solid #28A7DE;
	padding-left: 20px;
}

/* Footer: Imprint / Privacy policy links - no underline */
.pai-footer-link {
	text-decoration: none;
}

/* Mobile-menu-only item: hidden on desktop, only shown inside the mobile menu (<=980px). */
.ph_mob-menu.menu-item {
	display: none !important;
}

/* "Scroll to top" button - match site's accent blue / dark navy brand colors. */
.et_pb_scroll_top.et-pb-icon {
	background-color: #28A7DE;
	border-radius: 50%;
	width: 44px;
	height: 44px;
	line-height: 44px;
	text-align: center;
	box-shadow: 0 8px 20px rgba(5, 11, 79, 0.25);
	opacity: 0;
	transition: background-color 0.25s ease, transform 0.25s ease, opacity 0.3s ease;
	display: flex !important;
	align-items: center;
	justify-content: center;
	right: 40px;
	bottom: 40px;
}

.et_pb_scroll_top.et-pb-icon:before {
	color: #ffffff;
	font-size: 20px;
	line-height: 0;
}

.et_pb_scroll_top.et-pb-icon.et-visible {
	opacity: 1;
}

.et_pb_scroll_top.et-pb-icon:hover {
	background-color: #050b4f;
	transform: translateY(-3px);
}

/* Divi's own auto-generated "Critical CSS" baseline row/section padding */
.et_pb_blurb_position_left.ph_blurb .et_pb_blurb_container {
	padding-left: 0;
}

.et_pb_blurb a,
.ph_blurb a {
	transition: 0.5s;
}

.et_pb_blurb.et_pb_blurb_2_tb_footer.et_pb_blurb .et_pb_blurb_description a:hover,
.et_pb_blurb.ph_blurb .et_pb_blurb_description a:hover {
	color: #050b4f !important;
}

.et_pb_section .et_pb_blurb .et_pb_blurb_description {
	max-width: 100%;
}

/* Site-wide convention: add the "pai-btn-arrow" class to any Divi Button module,
   plain <a>, or <input type="submit"> (e.g. Contact Form 7) to auto-append an
   arrow icon after its label. See pai-header.js for the script that injects it. */
.pai-btn-arrow .et_pb_button {
	display: inline-flex;
	align-items: center;
	gap: 12px;
}

.pai-btn-arrow-icon {
	width: auto;
	height: 16px;
	position: absolute;
	right: 28px;
	top: 50%;
	transform: translateY(-50%);
}

.pai_service-btn-wrap {
	width: max-content;
	margin: -30px auto 0;
}
.pai_service-btn-wrap .pai-btn-arrow-icon {
    position: static;
    height: auto;
    transform: none;
    pointer-events: none;
}

/* pai-btn-arrow on <input type="submit"> (CF7): icon can't go inside the input,
   so pill styling lives on the wrapper and the input shrinks to its text -
   flexbox centers text+icon as a pair. Only the text itself is clickable. */
.pai-btn-arrow-input-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	height: 56px;
	background-image: linear-gradient(to right, #28A7DE, #050b4f, #28A7DE);
	background-size: 300% 100%;
	background-position: 0% 0%;
	border-radius: 30px;
	box-shadow: 0 10px 25px rgba(5, 11, 79, 0.2);
	position: relative;
	transition: background-position 0.5s ease, box-shadow 0.25s ease;
}

.pai-btn-arrow-input-wrap:hover {
	background-position: 100% 0%;
	box-shadow: 0 14px 32px rgba(5, 11, 79, 0.3);
}

.pai-btn-arrow-input-wrap input[type="submit"] {
	background: transparent;
	box-shadow: none;
	width: auto;
	max-width: calc(100% - 50px);
	border: none;
	padding: 0;
	height: 56px;
	color: #fff;
	font-size: 16px;
	font-weight: 500;
	letter-spacing: 0.3px;
	cursor: pointer;
	outline: none;
	transition: transform 0.25s ease;
}

.pai-btn-arrow-input-wrap input[type="submit"]:active {
	transform: translateY(0);
}

/* Icon sits in the flex flow right after the label (not absolutely positioned), so it
   always stays next to the text whatever the label length or screen width. */
.pai-btn-arrow-input-wrap .pai-btn-arrow-icon {
	width: auto;
	height: 16px;
	pointer-events: none;
	position: static;
	transform: none;
	right: auto;
	flex: 0 0 auto;
}

.pai-btn-arrow-input-wrap .wpcf7-spinner {
	position: absolute;
	right: 16px;
	top: 50%;
	transform: translateY(-50%);
	margin: 0;
}

/* Decorative underline badge - wrap a highlighted word in <strong class="title-badge">
   (e.g. in a heading) to draw the swoosh image beneath it. */
strong.title-badge {
	position: relative;
	display: inline-block;
}

strong.title-badge::before {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: -10px;
	height: 17px;
	background-image: url('/wp-content/themes/Divi-Child-Theme/assets/images/title-badge.png');
	background-repeat: no-repeat;
	background-position: center;
	background-size: 100% 100%;
	z-index: -1;
}

/* ==========================================================================
   Cookie consent widget (third-party, loaded from cookieconsent.com - not a
   local plugin) - restyled to match the site's brand instead of its default
   look. Uses tag-based selectors under .cc_dialog since the widget applies
   its own CSS reset ("cc_css_reboot") and we don't control its exact class
   names, only the container/heading/paragraph/button structure.
   ========================================================================== */

body .light.cc_dialog {
    font-family: Poppins, sans-serif !important;
    background: transparent;
    padding: 20px;
    width: 540px;
    max-width: 540px;
}
.light.cc_dialog .cc_dialog_headline {
    font-size: 18px;
}
.cc_dialog .cc_dialog_inner {
	border-radius: 16px !important;
	box-shadow: 0 20px 50px rgba(5, 11, 79, 0.2) !important;
	border: none !important;
	padding: 20px !important;
	background: #ffffff ;
}

.cc_dialog .cc_dialog_inner h1,
.cc_dialog .cc_dialog_inner h2,
.cc_dialog .cc_dialog_inner h3 {
	font-family: Poppins, sans-serif !important;
	font-weight: 700 !important;
	color: #050b4f !important;
	margin-top: 0 !important;
}

.cc_dialog .cc_dialog_inner p {
	color: #5a6472;
	font-size: 14px;
	line-height: 1.7;
}

.cc_dialog .cc_dialog_inner a {
	color: #28A7DE !important;
}

.cc_dialog .cc_dialog_inner button {
	font-family: Poppins, sans-serif !important;
	font-weight: 600 !important;
	border-radius: 30px !important;
	padding: 12px 28px !important;
	border: none !important;
	cursor: pointer !important;
	transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease !important;
}

/* Primary ("I agree" / accept) - first button, brand blue pill */
.cc_dialog .cc_dialog_inner button:first-of-type {
	background: #28A7DE !important;
	color: #ffffff !important;
}

.cc_dialog .cc_dialog_inner button:first-of-type:hover {
	background: #050b4f !important;
}

/* Secondary ("Change my preferences") - outline pill */
body .cc_dialog .cc_dialog_inner button.cc_b_cp {
    background: #ffffff;
    color: #050b4f !important;
    border: 1px solid #28a7de !important;
    margin-left: 10px !important;
}
body .cc_dialog .cc_dialog_inner button.cc_b_cp:hover{
    background: #050b4f;
    color: #fff !important;
    border: 1px solid #050b4f !important;
}

/* Thin custom scrollbar (WebKit browsers) using the brand color variables above */
::-webkit-scrollbar {
	width: 4px;
	height: 4px;
}

::-webkit-scrollbar-track {
	box-shadow: inset 0 0 5px var(--p2-clr);
	border-radius: 5px;
}

::-webkit-scrollbar-thumb {
	background: var(--p2-clr);
	border-radius: 10px;
}

@keyframes updwon {
	50% {
		transform: translateY(-10px);
	}
}

@keyframes cirs360 {
	100% {
		transform: translate(-50%, -50%) rotate(360deg);
	}
}

/* ==========================================================================
   "How L2AI Learns" section (Technology & Facts page)
   ========================================================================== */

.pai-l2ai-section h2 {
	font-family: 'Poppins', sans-serif;
}

.pai-l2ai-section h4.pai-kicker {
	font-size: 15px;
	letter-spacing: 0.5px;
	color: #28A7DE !important;
	font-weight: 700 !important;
}

/* ==========================================================================
   "PV becomes Big Data" stats section (Technology & Facts page)
   ========================================================================== */

.pai-bigdata-section {
	background-color: #f7f9fb !important;
}

.pai-bigdata-section .et_pb_image img {
	background: #ffffff;
	padding: 14px;
	box-sizing: content-box;
	max-width: 30px !important;
	margin: 0 auto;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.pai-bigdata-section .et_pb_module {
	width: 100%;
	max-width: 100%;
	text-align: center;
}

.pai-bigdata-section .et_pb_image_wrap {
	box-shadow: none;
	border-radius: 50%;
	overflow: hidden;
}

.pai-bigdata-section .et_pb_blurb .et_pb_module_header {
	position: relative;
	padding-bottom: 16px;
}

.pai-bigdata-section .et_pb_blurb .et_pb_module_header::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0;
	width: 44px;
	height: 4px;
	border-radius: 2px;
	transform: translateX(-50%);
	background: rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   Service archive: platform feature groups (carried over from the old
   pharma-ai.de/service/ page). Same visual pattern as the single-service
   page: kicker + heading + .pai-service-feature-card grid.
   ========================================================================== */

.pai-feature-group {
	margin: 60px 0;
}

.pai-feature-group h2 {
	font-family: Poppins, sans-serif;
	font-weight: 700;
	font-size: 26px;
	color: #050b4f;
	margin: 0 0 30px;
}

.pai-feature-group-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 20px;
}

/* ==========================================================================
   Page title + breadcrumb banner (single-service.php)
   ========================================================================== */

.pai-page-banner {
	/* background: linear-gradient(135deg, #050B4F 0%, #28A7DE 100%); */
	padding: 70px 30px;
	text-align: center;
}

.pai-page-banner-title {
	font-family: Poppins, sans-serif;
	font-weight: 700;
	font-size: 40px;
	color: #050b4f;
	margin: 0 0 14px;
}

.pai-page-banner-desc {
	max-width: 640px;
	margin: 0 auto 18px;
	font-size: 15px;
	color: #5b5f7b;
	line-height: 1.6;
}

.pai-blog-cat-list a.is-active {
	color: #28A7DE;
}

.pai-blog-cat-list a.is-active em {
	background: #28A7DE;
	color: #ffffff;
}

.pai-breadcrumb {
	font-size: 14px;
	font-weight: 600;
}

.pai-breadcrumb a {
	color: #313131;
	text-decoration: none;
	transition: color 0.2s ease;
}

.pai-breadcrumb a:hover {
	color: #28A7DE;
}

.pai-breadcrumb-sep {
	color: #313131;
	margin: 0 10px;
}

.pai-breadcrumb-current {
	color: #313131;
}

/* ==========================================================================
   Single Blog Post page (single.php) - modern blog-details layout
   ========================================================================== */

.pai-blog-banner {
	padding-bottom: 30px;
}

.pai-blog-banner-inner {
	max-width: 1000px;
	margin: 0 auto;
}

.pai-blog-cat-badge {
	display: inline-block;
	background: #28A7DE;
	color: #ffffff;
	font-family: Poppins, sans-serif;
	font-weight: 600;
	font-size: 13px;
	letter-spacing: .04em;
	text-transform: uppercase;
	text-decoration: none;
	padding: 6px 16px;
	border-radius: 999px;
	margin-bottom: 18px;
}

.pai-blog-meta {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 22px;
	margin-bottom: 14px;
}

.pai-blog-meta-item {
	font-size: 14px;
	font-weight: 500;
	color: #5b5f7b;
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

.pai-blog-meta-item i {
	color: #28A7DE;
}

.pai-blog-feature-image {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px 60px;
}

.pai-blog-feature-image img {
	width: 100%;
	height: auto;
	border-radius: 16px;
	box-shadow: 0 20px 50px rgba(5, 11, 79, 0.15);
	display: block;
}

.pai-blog-single {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 30px 60px;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 60px;
	align-items: start;
}

/* Article body */
.pai-blog-body {
	font-family: Poppins, sans-serif;
	color: #3d3f57;
	font-size: 17px;
	line-height: 1.85;
}

.pai-blog-body h2 {
	font-size: 26px;
	font-weight: 700;
	color: #050b4f;
	margin: 40px 0 16px;
}

.pai-blog-body h3 {
	font-size: 21px;
	font-weight: 700;
	color: #050b4f;
	margin: 32px 0 14px;
}

.pai-blog-body p {
	margin: 0 0 20px;
}

.pai-blog-body img {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
	margin: 20px 0;
}

.pai-blog-body ul,
.pai-blog-body ol {
	margin: 0 0 24px;
	padding: 0;
	list-style: none;
}

.pai-blog-body ol {
	counter-reset: pai-ol;
}

.pai-blog-body li {
	position: relative;
	margin-bottom: 12px;
	padding-left: 38px;
	line-height: 1.7;
}

/* Bullets: accent-blue round dot with a soft halo */
.pai-blog-body ul > li::before {
	content: "";
	position: absolute;
	left: 8px;
	top: 0.7em;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #28A7DE;
	box-shadow: 0 0 0 4px rgba(40, 167, 222, 0.18);
}

/* Numbers: navy rounded badge */
.pai-blog-body ol > li {
	counter-increment: pai-ol;
}

.pai-blog-body ol > li::before {
	content: counter(pai-ol);
	position: absolute;
	left: 0;
	top: 0.15em;
	width: 26px;
	height: 26px;
	border-radius: 8px;
	background: #050b4f;
	color: #ffffff;
	font-size: 13px;
	font-weight: 600;
	line-height: 26px;
	text-align: center;
}

/* Nested lists */
.pai-blog-body li > ul,
.pai-blog-body li > ol {
	margin: 12px 0 0;
}

.pai-blog-body ul ul > li::before {
	width: 6px;
	height: 6px;
	box-shadow: none;
	background: #050b4f;
}

.pai-blog-body blockquote {
	border-left: 3px solid #28A7DE;
	background: #f4f8fc;
	padding: 20px 26px;
	margin: 30px 0;
	font-style: italic;
	color: #050b4f;
	border-radius: 0 10px 10px 0;
}

.pai-blog-body a {
	color: #28A7DE;
	text-decoration: underline;
}

.pai-blog-body h4,
.pai-blog-body h5,
.pai-blog-body h6 {
	color: #050b4f;
	margin: 26px 0 12px;
}

/* Pullquote block (Gutenberg: "Pullquote") */
.pai-blog-body .wp-block-pullquote {
	border-top: 3px solid #28A7DE;
	border-bottom: 3px solid #28A7DE;
	padding: 30px 10px;
	margin: 40px 0;
	text-align: center;
}

.pai-blog-body .wp-block-pullquote blockquote {
	border: none;
	background: none;
	padding: 0;
	margin: 0;
}

.pai-blog-body .wp-block-pullquote p {
	font-size: 22px;
	font-weight: 600;
	color: #050b4f;
	font-style: normal;
	line-height: 1.5;
}

.pai-blog-body .wp-block-pullquote cite {
	display: block;
	margin-top: 14px;
	font-size: 13px;
	font-style: normal;
	color: #5b5f7b;
}

/* Table block (Gutenberg: "Table") */
.pai-blog-body .wp-block-table {
	margin: 30px 0;
	overflow-x: auto;
}

.pai-blog-body table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
}

.pai-blog-body table th,
.pai-blog-body table td {
	border: 1px solid #e8ecf3;
	padding: 12px 16px;
	text-align: left;
}

.pai-blog-body table th {
	background: #050b4f;
	color: #ffffff;
	font-weight: 600;
}

.pai-blog-body table tr:nth-child(even) td {
	background: #f4f8fc;
}

/* Phones: a plain table (not wrapped in a .wp-block-table) otherwise forces the whole page
   wider than the screen; let it scroll sideways inside its own box instead. */
@media (max-width: 767px) {
	.pai-blog-body table {
		display: block;
		max-width: 100%;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
}

/* Columns block (Gutenberg: "Columns") */
.pai-blog-body .wp-block-columns {
	margin: 30px 0;
	gap: 30px;
}

/* Button block (Gutenberg: "Buttons") */
.pai-blog-body .wp-block-button__link {
	background: #28A7DE;
	color: #ffffff;
	font-weight: 600;
	text-decoration: none;
	padding: 12px 26px;
	border-radius: 999px;
	transition: background 0.2s ease, transform 0.2s ease;
}

.pai-blog-body .wp-block-button__link:hover {
	background: #050b4f;
	transform: translateY(-2px);
}

.pai-blog-body .is-style-outline .wp-block-button__link {
	background: transparent;
	color: #050b4f;
	border: 2px solid #050b4f;
}

/* Code block (Gutenberg: "Code" / "Preformatted") */
.pai-blog-body pre,
.pai-blog-body code {
	font-family: 'Courier New', monospace;
}

.pai-blog-body pre {
	background: #050b4f;
	color: #e8ecf3;
	padding: 20px 24px;
	border-radius: 10px;
	overflow-x: auto;
	margin: 30px 0;
	font-size: 14px;
	line-height: 1.6;
}

.pai-blog-body :not(pre) > code {
	background: #f4f8fc;
	color: #050b4f;
	padding: 2px 7px;
	border-radius: 5px;
	font-size: 14px;
}

/* Separator block (Gutenberg: "Separator") */
.pai-blog-body hr {
	border: none;
	border-top: 1px solid #e8ecf3;
	margin: 40px 0;
}

/* Gallery block (Gutenberg: "Gallery") */
.pai-blog-body .wp-block-gallery {
	margin: 30px 0;
}

.pai-blog-body .wp-block-gallery img {
	margin: 0;
}

/* Embed / Video block (Gutenberg: "Embed", "Video", YouTube etc.) */
.pai-blog-body .wp-block-embed,
.pai-blog-body .wp-block-video {
	margin: 30px 0;
}

.pai-blog-body .wp-block-embed iframe {
	width: 100%;
	border-radius: 12px;
}

.pai-blog-body .wp-block-embed__wrapper {
	position: relative;
}

/* Cover block (Gutenberg: "Cover" - image/video with overlay text) */
.pai-blog-body .wp-block-cover {
	border-radius: 14px;
	overflow: hidden;
	margin: 30px 0;
}

/* FAQ accordion styling. Editors manage FAQs via the "Blog Post Options" meta
   box on each post (question/answer rows) - this site uses the Classic
   Editor, so there's no block inserter; single.php renders the saved rows as
   real <details> elements here. Leaving the FAQ rows empty on a post skips
   this section entirely. */
.pai-blog-body details {
	border: 1px solid #e8ecf3;
	border-radius: 12px;
	margin-bottom: 14px;
	padding: 0;
	overflow: hidden;
}

.pai-blog-body details summary {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	cursor: pointer;
	list-style: none;
	padding: 18px 22px;
	font-family: Poppins, sans-serif;
	font-weight: 600;
	font-size: 16px;
	color: #050b4f;
}

.pai-blog-body details summary::-webkit-details-marker {
	display: none;
}

.pai-blog-body details summary::after {
	content: "+";
	flex-shrink: 0;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	border: 1px solid #28A7DE;
	color: #28A7DE;
	font-size: 16px;
	line-height: 24px;
	text-align: center;
	transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}

.pai-blog-body details[open] summary::after {
	content: "\2212";
	background: #28A7DE;
	color: #ffffff;
}

.pai-blog-body details > :not(summary) {
	padding: 0 22px 20px;
	font-size: 15px;
	line-height: 1.75;
	color: #5b5f7b;
}

/* Tags */
.pai-blog-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 40px 0 0;
}

.pai-blog-tag {
	display: inline-block;
	background: #f4f8fc;
	color: #050b4f;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	padding: 7px 14px;
	border-radius: 999px;
	transition: background 0.2s ease, color 0.2s ease;
}

.pai-blog-tag:hover {
	background: #28A7DE;
	color: #ffffff;
}

/* Share */
.pai-blog-share {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 34px 0 0;
	padding-top: 28px;
	border-top: 1px solid #e8ecf3;
}

.pai-blog-share-label {
	font-weight: 600;
	color: #050b4f;
	font-size: 14px;
	margin-right: 4px;
}

.pai-blog-share-btn {
	width: 38px;
	height: 38px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #f4f8fc;
	color: #050b4f;
	transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.pai-blog-share-btn:hover {
	background: #28A7DE;
	color: #ffffff;
	transform: translateY(-2px);
}

/* Author box */
.pai-blog-author {
	display: flex;
	gap: 18px;
	align-items: flex-start;
	margin-top: 40px;
	padding: 26px;
	background: #f4f8fc;
	border-radius: 14px;
}

.pai-blog-author img {
	border-radius: 50%;
	flex-shrink: 0;
}

.pai-blog-author-label {
	display: block;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .05em;
	color: #28A7DE;
	font-weight: 600;
	margin-bottom: 4px;
}

.pai-blog-author-name {
	display: block;
	font-size: 17px;
	color: #050b4f;
	margin-bottom: 6px;
}

.pai-blog-author-bio {
	margin: 0;
	font-size: 14px;
	color: #5b5f7b;
	line-height: 1.6;
}

/* Sidebar */
.pai-blog-sidebar {
	position: sticky;
	top: 30px;
	display: flex;
	flex-direction: column;
	gap: 26px;
}

.pai-blog-widget {
	background: #ffffff;
	border: 1px solid #e8ecf3;
	border-radius: 14px;
	padding: 24px;
}

.pai-blog-widget-title {
	font-family: Poppins, sans-serif;
	font-weight: 700;
	font-size: 16px;
	color: #050b4f;
	margin: 0 0 18px;
	padding-bottom: 14px;
	border-bottom: 2px solid #28A7DE;
	display: inline-block;
}

.pai-blog-search {
	padding: 10px;
}

.pai-blog-search form {
	display: flex;
	align-items: center;
	background: #f4f8fc;
	border-radius: 999px;
	overflow: hidden;
}

.pai-blog-search input {
	flex: 1;
	border: none;
	background: transparent;
	padding: 12px 18px;
	font-size: 14px;
	outline: none;
	font-family: Poppins, sans-serif;
}

.pai-blog-search button {
	border: none;
	background: #28A7DE;
	color: #ffffff;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	margin: 3px;
	cursor: pointer;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s ease;
}

.pai-blog-search button:hover {
	background: #050b4f;
}

.pai-blog-cat-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.pai-blog-cat-list li {
	border-bottom: 1px solid #e8ecf3;
}

.pai-blog-cat-list li:last-child {
	border-bottom: none;
}

.pai-blog-cat-list a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 2px;
	color: #3d3f57;
	text-decoration: none;
	font-size: 14.5px;
	font-weight: 500;
	transition: color 0.2s ease;
}

.pai-blog-cat-list a:hover {
	color: #28A7DE;
}

.pai-blog-cat-list em {
	font-style: normal;
	background: #f4f8fc;
	color: #050b4f;
	font-size: 12px;
	font-weight: 700;
	padding: 2px 9px;
	border-radius: 999px;
}

.pai-blog-recent-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.pai-blog-recent-item {
	display: flex;
	gap: 12px;
	align-items: center;
	text-decoration: none;
}

.pai-blog-recent-thumb {
	width: 60px;
	height: 60px;
	border-radius: 10px;
	overflow: hidden;
	flex-shrink: 0;
	display: block;
}

.pai-blog-recent-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pai-blog-recent-info {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.pai-blog-recent-date {
	font-size: 12px;
	color: #28A7DE;
	font-weight: 600;
}

.pai-blog-recent-title {
	font-size: 14px;
	font-weight: 600;
	color: #050b4f;
	line-height: 1.4;
	transition: color 0.2s ease;
}

.pai-blog-recent-item:hover .pai-blog-recent-title {
	color: #28A7DE;
}

.pai-blog-cta-card {
	background: linear-gradient(135deg, #050b4f 0%, #28A7DE 100%);
	border: none;
}

.pai-blog-cta-card h4 {
	color: #ffffff;
	font-family: Poppins, sans-serif;
	font-weight: 700;
	font-size: 17px;
	margin: 0 0 10px;
}

.pai-blog-cta-card p {
	color: rgba(255, 255, 255, 0.85);
	font-size: 13.5px;
	line-height: 1.6;
	margin: 0 0 18px;
}

.pai-blog-cta-btn {
	display: inline-block;
	background: #ffffff;
	color: #050b4f;
	font-weight: 600;
	font-size: 14px;
	text-decoration: none;
	padding: 10px 20px;
	border-radius: 999px;
	transition: transform 0.2s ease;
}

.pai-blog-cta-btn:hover {
	transform: translateY(-2px);
}

/* Related posts */
.pai-blog-related {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 30px 80px;
}

.pai-blog-related-title {
	font-family: Poppins, sans-serif;
	font-weight: 700;
	font-size: 26px;
	color: #050b4f;
	margin: 0 0 28px;
}

.pai-blog-related-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 24px;
}

.pai-blog-related-card {
	display: block;
	text-decoration: none;
	border-radius: 14px;
	overflow: hidden;
	background: #ffffff;
	border: 1px solid #e8ecf3;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pai-blog-related-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 16px 40px rgba(5, 11, 79, 0.12);
}

.pai-blog-related-thumb {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
}

.pai-blog-related-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.pai-blog-related-card:hover .pai-blog-related-thumb img {
	transform: scale(1.06);
}

.pai-blog-related-body {
	display: block;
	padding: 18px 20px 22px;
}

.pai-blog-related-date {
	display: block;
	font-size: 12px;
	color: #28A7DE;
	font-weight: 600;
	margin-bottom: 8px;
}

.pai-blog-related-name {
	display: block;
	font-size: 16px;
	font-weight: 700;
	color: #050b4f;
	line-height: 1.4;
}

@media (max-width: 980px) {
	.pai-blog-single {
		grid-template-columns: minmax(0, 1fr);
	}

	.pai-blog-sidebar {
		position: static;
	}
}

/* ==========================================================================
   About Us page (page-templates/about-us.php)
   ========================================================================== */

.pai-about {
	max-width: 1100px;
	margin: 0 auto;
	padding: 20px 30px 100px;
}

.pai-about-section {
	padding: 50px 0;
	border-bottom: 1px solid #e8ecf3;
}

.pai-about-section:last-child {
	border-bottom: none;
}

.pai-about-section h2 {
	font-family: Poppins, sans-serif;
	font-weight: 700;
	font-size: 32px;
	color: #050b4f;
	margin: 6px 0 20px;
	line-height: 1.25;
}

.pai-about-section > p,
.pai-about-lede {
	font-family: Poppins, sans-serif;
	font-size: 16px;
	color: #5b5f7b;
	line-height: 1.75;
	max-width: 760px;
}

.pai-about-competencies {
	margin-top: 36px;
}

.pai-about-competencies h3 {
	font-family: Poppins, sans-serif;
	font-weight: 700;
	font-size: 15px;
	text-transform: uppercase;
	letter-spacing: .05em;
	color: #050b4f;
	margin: 0 0 10px;
}

.pai-about-competencies-lede {
	font-size: 14.5px !important;
	margin: 0 0 18px !important;
}

.pai-about-tag-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

/* Tags sit in their own wrapper (separate from the title badge above them)
   so the flex row only applies to the pills, not the heading. */
.pai-about-tag-items {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
}

.pai-about-tag-items span,
.pai-pill-badge {
	display: inline-block;
	background: #E8F4FD;
	color: #050B4F;
	font-family: Poppins, sans-serif;
	font-size: 13.5px;
	font-weight: 700;
	padding: 9px 20px;
	border-radius: 999px;
	border: 1px solid #28A7DE;
	transition: all 0.5s;
	margin: 0px 10px 15px 0;
	cursor: pointer;
}

.pai-about-tag-items span:hover {
	background-color: #28A7DE;
	color: #fff;
}

.pai-pill-badge-wrap {
	text-align: center;
	margin-bottom: 16px;
}

.pai-about-approach-grid {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 50px;
	align-items: center;
}

.pai-about-approach-grid p {
	font-family: Poppins, sans-serif;
	font-size: 16px;
	color: #5b5f7b;
	line-height: 1.75;
}

.pai-about-philosophy {
	font-size: 19px;
	font-weight: 600;
	color: #050b4f;
	line-height: 1.5;
}

.pai-about-ai-caps {
	margin-top: 30px;
	background: #f4f8fc;
	border-radius: 12px;
	padding: 20px 24px;
	font-size: 14.5px !important;
}

.pai-about-ai-caps strong {
	color: #050b4f;
}

.pai-about-product-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 24px;
	margin-top: 10px;
}

.pai-about-product-card {
	background: #ffffff;
	border: 1px solid #e8ecf3;
	border-radius: 16px;
	padding: 30px;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pai-about-product-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 40px rgba(5, 11, 79, 0.1);
}

.pai-about-product-badge {
	display: inline-block;
	font-family: Poppins, sans-serif;
	font-weight: 700;
	font-size: 17px;
	color: #050b4f;
	background: #f4f8fc;
	padding: 8px 18px;
	border-radius: 999px;
	margin-bottom: 16px;
}

.pai-about-product-card p {
	font-size: 15px;
	color: #5b5f7b;
	line-height: 1.7;
	margin: 0;
}

.pai-about-values-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 24px;
	margin-top: 10px;
}

.pai-about-value-card {
	background: #ffffff;
	border: 1px solid #e8ecf3;
	border-radius: 16px;
	padding: 30px;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pai-about-value-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 40px rgba(5, 11, 79, 0.1);
}

.pai-about-value-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 14px;
	background: linear-gradient(135deg, #050b4f 0%, #28A7DE 100%);
	color: #ffffff;
	font-size: 20px;
	margin-bottom: 18px;
}

.pai-about-value-card strong {
	display: block;
	font-family: Poppins, sans-serif;
	font-weight: 700;
	font-size: 17px;
	color: #050b4f;
	margin-bottom: 8px;
}

.pai-about-value-card p {
	font-size: 14.5px;
	color: #5b5f7b;
	line-height: 1.65;
	margin: 0;
}

/* Connected vertical timeline */
.pai-about-timeline {
	list-style: none;
	margin: 20px 0 0;
	padding: 0;
	max-width: 640px;
	position: relative;
}

.pai-about-timeline::before {
	content: "";
	position: absolute;
	left: 19px;
	top: 10px;
	bottom: 10px;
	width: 2px;
	background: #e8ecf3;
}

.pai-about-timeline li {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 20px;
	padding-bottom: 28px;
}

.pai-about-timeline li:last-child {
	padding-bottom: 0;
}

.pai-about-timeline li div {
	padding-top: 7px;
}

.pai-about-timeline li strong {
	font-family: Poppins, sans-serif;
	font-weight: 600;
	font-size: 15.5px;
	color: #050b4f;
}

.pai-about-timeline-num {
	position: relative;
	z-index: 1;
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: linear-gradient(135deg, #050b4f 0%, #28A7DE 100%);
	color: #ffffff;
	font-size: 13px;
	font-weight: 700;
	font-family: Poppins, sans-serif;
	box-shadow: 0 0 0 4px #ffffff;
}

.pai-about-team-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 24px;
	margin-top: 10px;
}

.pai-about-team-card {
	background: #ffffff;
	border: 1px solid #e8ecf3;
	border-radius: 16px;
	padding: 32px;
	text-align: center;
}

.pai-about-team-avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: #f4f8fc;
	color: #28A7DE;
	font-size: 26px;
	margin-bottom: 16px;
}

.pai-about-team-card strong {
	display: block;
	font-family: Poppins, sans-serif;
	font-weight: 700;
	font-size: 18px;
	color: #050b4f;
}

.pai-about-team-role {
	display: block;
	font-size: 12.5px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: #28A7DE;
	margin: 6px 0 14px;
}

.pai-about-team-card p {
	font-size: 14.5px;
	color: #5b5f7b;
	line-height: 1.65;
	margin: 0;
}

.pai-about-checklist {
	margin-top: 20px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 14px 24px;
}

.pai-about-cta {
	background: linear-gradient(135deg, #050b4f 0%, #073c7a 55%, #28A7DE 100%);
	border-radius: 24px;
	padding: 60px 50px;
	text-align: center;
	border-bottom: none;
}

.pai-about-cta .pai-kicker {
	border-left-color: rgba(255, 255, 255, .5);
}

.pai-about-cta > p {
	color: rgba(255, 255, 255, 0.85) !important;
	max-width: 640px;
	margin-left: auto;
	margin-right: auto;
}

.pai-about-cta-closing {
	font-style: italic;
	font-size: 17px !important;
	color: #ffffff !important;
	margin: 24px auto 30px !important;
}

.pai-about-cta-btn {
	display: inline-flex;
	align-items: center;
	position: relative;
	background: #ffffff;
	color: #050b4f;
	font-weight: 600;
	font-size: 14px;
	text-decoration: none;
	padding: 14px 62px 14px 30px;
	border-radius: 999px;
	transition: transform 0.2s ease;
}

.pai-about-cta-btn:hover {
	transform: translateY(-2px);
}

@media (max-width: 767px) {
	.pai-about-approach-grid {
		grid-template-columns: 1fr;
		gap: 26px;
	}

	.pai-about-section h2 {
		font-size: 26px;
	}

	.pai-about-cta {
		padding: 40px 24px;
	}
}

/* ==========================================================================
   404 page (404.php)
   ========================================================================== */

.pai-404-hero {
	background: linear-gradient(180deg, #f4f8fc 0%, #ffffff 100%);
	padding: 90px 30px 80px;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.pai-404-hero-inner {
	position: relative;
	max-width: 560px;
	margin: 0 auto;
}

.pai-404-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: #f4f8fc;
	border: 1px solid #e8ecf3;
	color: #28A7DE;
	font-size: 24px;
	margin-bottom: 20px;
}

.pai-404-code {
	display: block;
	font-family: Poppins, sans-serif;
	font-weight: 800;
	font-size: 90px;
	line-height: 1;
	background: linear-gradient(135deg, #050b4f 0%, #28A7DE 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	letter-spacing: .02em;
}

.pai-404-title {
	font-family: Poppins, sans-serif;
	font-weight: 700;
	font-size: 28px;
	color: #050b4f;
	margin: 10px 0 14px;
}

.pai-404-text {
	font-size: 15px;
	color: #5b5f7b;
	line-height: 1.6;
	margin: 0 0 32px;
}

.pai-404-search {
	display: flex;
	max-width: 400px;
	margin: 0 auto 30px;
	background: #ffffff;
	border: 1px solid #e8ecf3;
	border-radius: 999px;
	overflow: hidden;
}

.pai-404-search input {
	flex: 1;
	border: none;
	background: transparent;
	padding: 14px 22px;
	font-size: 14px;
	outline: none;
	font-family: Poppins, sans-serif;
	color: #050b4f;
}

.pai-404-search input::placeholder {
	color: #9aa0b4;
}

.pai-404-search button {
	border: none;
	background: #28A7DE;
	color: #ffffff;
	width: 48px;
	margin: 4px;
	border-radius: 50%;
	cursor: pointer;
	transition: background 0.2s ease;
}

.pai-404-search button:hover {
	background: #050b4f;
}

.pai-404-links {
	display: flex;
	justify-content: center;
	gap: 14px;
	flex-wrap: wrap;
}

.pai-404-btn {
	display: inline-flex;
	align-items: center;
	position: relative;
	font-weight: 600;
	font-size: 14px;
	text-decoration: none;
	padding: 14px 62px 14px 30px;
	border-radius: 999px;
	transition: transform 0.2s ease;
}

.pai-404-btn .pai-btn-arrow-icon {
	right: 26px;
}

.pai-404-btn:hover {
	transform: translateY(-2px);
}

.pai-404-btn-solid {
	background: #28A7DE;
	color: #ffffff;
	transition: background-color 0.25s ease, transform 0.2s ease;
}

.pai-404-btn-solid:hover {
	background: #050b4f;
}

.pai-404-btn-outline {
	background: transparent;
	color: #050b4f;
	border: 2px solid #050b4f;
	transition: background-color 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.pai-404-btn-outline:hover {
	background: #050b4f;
	color: #ffffff;
	border-color: #050b4f;
}

.pai-404-btn-outline:hover .pai-btn-arrow-icon {
	filter: brightness(0) invert(1);
}

.pai-404-body {
	max-width: 1360px;
	margin: 0 auto;
	padding: 60px 30px 90px;
}

.pai-404-quicklinks {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 18px;
	margin-bottom: 60px;
}

.pai-404-quicklink {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	background: #f4f8fc;
	border-radius: 14px;
	padding: 26px 16px;
	text-decoration: none;
	color: #050b4f;
	font-weight: 600;
	font-size: 14px;
	transition: background 0.2s ease, transform 0.2s ease;
}

.pai-404-quicklink i {
	font-size: 22px;
	color: #28A7DE;
}

.pai-404-quicklink:hover {
	background: #050b4f;
	color: #ffffff;
	transform: translateY(-3px);
}

.pai-404-quicklink:hover i {
	color: #ffffff;
}

.pai-404-section-title {
	font-family: Poppins, sans-serif;
	font-weight: 700;
	font-size: 22px;
	color: #050b4f;
	margin: 0 0 26px;
}

/* ==========================================================================
   Blog Listing page (page-templates/blog-listing.php)
   ========================================================================== */

.pai-blog-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 26px;
}

.pai-blog-grid-card {
	display: flex;
	flex-direction: column;
	background: #ffffff;
	border: 1px solid #e8ecf3;
	border-radius: 16px;
	overflow: hidden;
	text-decoration: none;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pai-blog-grid-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 18px 44px rgba(5, 11, 79, 0.12);
}

.pai-blog-grid-thumb {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
}

.pai-blog-grid-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.pai-blog-grid-card:hover .pai-blog-grid-thumb img {
	transform: scale(1.06);
}

.pai-blog-grid-body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 20px 22px 24px;
}

.pai-blog-grid-cat {
	align-self: flex-start;
	background: #f4f8fc;
	color: #28A7DE;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
	padding: 4px 12px;
	border-radius: 999px;
}

.pai-blog-grid-title {
	font-family: Poppins, sans-serif;
	font-weight: 700;
	font-size: 18px;
	color: #050b4f;
	line-height: 1.35;
}

.pai-blog-grid-excerpt {
	font-size: 14px;
	color: #5b5f7b;
	line-height: 1.6;
}

.pai-blog-grid-date {
	font-size: 12px;
	color: #8c8f94;
	margin-top: 4px;
}

/* ==========================================================================
   Search results page (search.php)
   ========================================================================== */

.pai-search-count {
	font-family: Poppins, sans-serif;
	font-size: 14px;
	color: #5b5f7b;
	margin: 0 0 24px;
}

.pai-search-list {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.pai-search-card {
	display: flex;
	gap: 20px;
	align-items: flex-start;
	background: #ffffff;
	border: 1px solid #e8ecf3;
	border-radius: 14px;
	padding: 18px;
	text-decoration: none;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pai-search-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 16px 40px rgba(5, 11, 79, 0.1);
}

.pai-search-card-thumb {
	flex-shrink: 0;
	width: 140px;
	height: 100px;
	border-radius: 10px;
	overflow: hidden;
	display: block;
}

.pai-search-card-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pai-search-card-body {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.pai-search-card-date {
	font-size: 12px;
	font-weight: 600;
	color: #28A7DE;
}

.pai-search-card-title {
	font-family: Poppins, sans-serif;
	font-weight: 700;
	font-size: 18px;
	color: #050b4f;
	line-height: 1.35;
}

.pai-search-card-excerpt {
	font-size: 14px;
	color: #5b5f7b;
	line-height: 1.6;
}

.pai-search-pagination {
	margin-top: 34px;
}

.pai-search-pagination .nav-links {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.pai-search-pagination a,
.pai-search-pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border-radius: 8px;
	border: 1px solid #e8ecf3;
	color: #050b4f;
	font-weight: 600;
	font-size: 14px;
	text-decoration: none;
}

.pai-search-pagination a:hover,
.pai-search-pagination .current {
	background: #28A7DE;
	border-color: #28A7DE;
	color: #ffffff;
}

.pai-search-empty {
	background: #f4f8fc;
	border-radius: 16px;
	padding: 48px 32px;
	text-align: center;
}

.pai-search-empty h2 {
	font-family: Poppins, sans-serif;
	font-weight: 700;
	font-size: 24px;
	color: #050b4f;
	margin: 0 0 12px;
}

.pai-search-empty p {
	font-size: 15px;
	color: #5b5f7b;
	max-width: 440px;
	margin: 0 auto 24px;
	line-height: 1.6;
}

.pai-search-empty form {
	display: flex;
	max-width: 380px;
	margin: 0 auto;
	background: #ffffff;
	border-radius: 999px;
	overflow: hidden;
	border: 1px solid #e8ecf3;
}

.pai-search-empty input {
	flex: 1;
	border: none;
	background: transparent;
	padding: 12px 20px;
	font-size: 14px;
	outline: none;
	font-family: Poppins, sans-serif;
}

.pai-search-empty button {
	border: none;
	background: #28A7DE;
	color: #ffffff;
	width: 46px;
	margin: 3px;
	border-radius: 50%;
	cursor: pointer;
	transition: background 0.2s ease;
}

.pai-search-empty button:hover {
	background: #050b4f;
}

@media (max-width: 767px) {
	/* 404 page hero */
	.pai-404-hero {
		padding: 60px 20px 50px;
	}

	.pai-404-code {
		font-size: 60px;
	}

	.pai-404-title {
		font-size: 22px;
	}

	.pai-404-body {
		padding: 40px 20px 60px;
	}
}

@media (max-width: 600px) {
	.pai-search-card {
		flex-direction: column;
	}

	.pai-search-card-thumb {
		width: 100%;
		height: 180px;
	}
}

/* ==========================================================================
   Flexible Content Page (page-templates/flexible-content.php)
   ========================================================================== */

.pai-flex-page {
	padding-top: 20px;
	font-family: Poppins, sans-serif;
	color: #3d3f57;
	font-size: 17px;
	line-height: 1.85;
}

.pai-flex-page > * {
	margin-bottom: 26px;
}

.pai-flex-heading {
	color: #050b4f;
	font-weight: 700;
}

h2.pai-flex-heading {
	font-size: 28px;
}

h3.pai-flex-heading {
	font-size: 21px;
}

.pai-flex-image img {
	width: 100%;
	height: auto;
	border-radius: 14px;
	box-shadow: 0 16px 40px rgba(5, 11, 79, 0.12);
}

.pai-flex-quote {
	border-left: 3px solid #28A7DE;
	background: #f4f8fc;
	padding: 22px 28px;
	margin: 0;
	border-radius: 0 12px 12px 0;
}

.pai-flex-quote p {
	font-size: 19px;
	font-style: italic;
	color: #050b4f;
	margin: 0 0 10px;
}

.pai-flex-quote cite {
	font-style: normal;
	font-size: 13px;
	color: #5b5f7b;
}

.pai-flex-cta {
	background: linear-gradient(135deg, #050b4f 0%, #28A7DE 100%);
	border-radius: 16px;
	padding: 36px;
	text-align: center;
}

.pai-flex-cta h3 {
	color: #ffffff;
	font-size: 24px;
	margin: 0 0 12px;
}

.pai-flex-cta p {
	color: rgba(255, 255, 255, 0.85);
	margin: 0 0 20px;
}

.pai-flex-cta-btn {
	display: inline-block;
	background: #ffffff;
	color: #050b4f;
	font-weight: 600;
	text-decoration: none;
	padding: 12px 28px;
	border-radius: 999px;
	transition: transform 0.2s ease;
}

.pai-flex-cta-btn:hover {
	transform: translateY(-2px);
}

.pai-flex-faq-item {
	border: 1px solid #e8ecf3;
	border-radius: 12px;
	overflow: hidden;
}

.pai-flex-faq-item summary {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	cursor: pointer;
	list-style: none;
	padding: 18px 22px;
	font-weight: 600;
	font-size: 16px;
	color: #050b4f;
}

.pai-flex-faq-item summary::-webkit-details-marker {
	display: none;
}

.pai-flex-faq-item summary::after {
	content: "+";
	flex-shrink: 0;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	border: 1px solid #28A7DE;
	color: #28A7DE;
	font-size: 16px;
	line-height: 24px;
	text-align: center;
}

.pai-flex-faq-item[open] summary::after {
	content: "\2212";
	background: #28A7DE;
	color: #ffffff;
}

.pai-flex-faq-item > div {
	padding-left: 22px;
	padding-right: 22px;
	font-size: 15px;
	line-height: 1.75;
	color: #5b5f7b;
}

/* ==========================================================================
   Single Service page (single-service.php)
   ========================================================================== */

.pai-service-single {
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
	padding: 60px 30px 50px;
}

.pai-service-single .pai-single-back {
	display: inline-block;
	margin-bottom: 25px;
	color: #28A7DE;
	font-weight: 600;
	font-size: 14px;
	text-decoration: none;
}

.pai-service-single .pai-single-back:hover {
	color: #050b4f;
}

/* Hero */
.pai-service-hero {
	display: flex;
	align-items: center;
	gap: 50px;
	margin-bottom: 60px;
}

.pai-service-hero-text {
	flex: 1 1 55%;
}

.pai-service-hero-text h1 {
	font-family: Poppins, sans-serif;
	font-weight: 700;
	font-size: 40px;
	line-height: 1.3;
	color: #050b4f;
	margin: 0 0 18px;
}

.pai-service-tagline {
	color: #5a6472;
	font-size: 17px;
	line-height: 1.7;
	margin: 0 0 28px;
}

.pai-service-hero-media {
	flex: 1 1 45%;
}

.pai-service-hero-media img {
	width: 100%;
	height: auto;
	border-radius: 16px;
	box-shadow: 0 20px 50px rgba(5, 11, 79, 0.15);
	display: block;
}

.pai-service-cta {
	display: inline-block;
	background-color: #28A7DE;
	color: #ffffff !important;
	font-weight: 600;
	font-size: 15px;
	padding: 14px 32px;
	border-radius: 10px;
	text-decoration: none;
	transition: background-color 0.25s ease, transform 0.25s ease;
}

.pai-service-cta:hover {
	background-color: #050b4f;
	transform: translateY(-2px);
}

/* Body content (rendered from the_content) */
.pai-service-body {
	color: #5a6472;
	font-size: 16px;
	line-height: 1.85;
}

.pai-service-body h2 {
	font-family: Poppins, sans-serif;
	font-weight: 700;
	font-size: 26px;
	color: #050b4f;
	margin: 55px 0 18px;
}

.pai-service-body h2:first-child {
	margin-top: 0;
}

.pai-service-body h3 {
	font-family: Poppins, sans-serif;
	font-weight: 600;
	font-size: 18px;
	color: #050b4f;
	margin: 0 0 8px;
}

.pai-service-body p {
	margin: 0 0 18px;
}

.pai-service-body > p:first-of-type {
	font-size: 18px;
	color: #050b4f;
	font-weight: 500;
}

/* Feature cards grid */
.pai-service-features {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
	margin: 30px 0 55px;
}

.pai-service-feature-card {
	background: #f7f9fb;
	border-radius: 14px;
	padding: 28px;
	border-left: 3px solid #28A7DE;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pai-service-feature-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 34px rgba(5, 11, 79, 0.1);
}

.pai-service-feature-card h3 {
	margin: 0 0 10px;
}

.pai-service-feature-card p {
	margin: 0;
	font-size: 15px;
}

/* Checklist blocks (Quality Checklist / Compliance & Security) */
.pai-service-checklist h2 {
	color: #ffffff;
	margin-top: 0;
}

.pai-service-checklist > p {
	color: #d6e4f0;
}

.pai-service-checklist ul {
	list-style: none;
	margin: 20px 0 0;
	padding: 0;
}

.pai-service-checklist ul li {
	position: relative;
	padding-left: 30px;
	margin-bottom: 14px;
	font-size: 15px;
	line-height: 1.6;
	color: #eaf6fc;
}

.pai-service-checklist ul li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 6px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.15);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 10px;
}

/* Trust & Integrations - plain readable block */
.pai-service-trust p {
	padding-left: 20px;
	border-left: 3px solid #e2e8f0;
}

/* Bottom CTA banner */
.pai-service-bottom-cta {
	text-align: center;
	background: #f7f9fb;
	border-radius: 20px;
	padding: 60px 40px;
	margin-top: 40px;
}

.pai-service-bottom-cta h2 {
	font-family: Poppins, sans-serif;
	font-weight: 700;
	font-size: 30px;
	color: #050b4f;
	max-width: 600px;
	margin: 0 auto 28px;
	line-height: 1.4;
}

/* ==========================================================================
   Service Archive page (archive-service.php) - /service/
   ========================================================================== */

.pai-service-archive {
	max-width: 1400px;
	margin: 0 auto;
	padding: 70px 30px 50px;
}

.pai-archive-hero {
	text-align: center;
	max-width: 700px;
	margin: 0 auto 55px;
}

.pai-archive-hero h1 {
	font-family: Poppins, sans-serif;
	font-weight: 700;
	font-size: 38px;
	color: #050b4f;
	margin: 0 0 18px;
}

.pai-archive-subtitle {
	color: #5a6472;
	font-size: 17px;
	line-height: 1.7;
	margin: 0;
}

.pai-archive-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	margin-bottom: 50px;
}

.pai-archive-card {
	display: block;
	background: #ffffff;
	border-radius: 16px;
	box-shadow: 0 10px 30px rgba(5, 11, 79, 0.08);
	text-decoration: none;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pai-archive-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 16px 40px rgba(5, 11, 79, 0.14);
}

.pai-archive-card-media {
	overflow: hidden;
}

.pai-archive-card-media img {
	width: 100%;
	height: 210px;
	object-fit: cover;
	display: block;
	transition: transform 0.5s ease;
}

.pai-archive-card:hover .pai-archive-card-media img {
	transform: scale(1.06);
}

.pai-archive-card-body {
	padding: 26px;
}

.pai-archive-card-body h2 {
	font-family: Poppins, sans-serif;
	font-weight: 700;
	font-size: 19px;
	line-height: 1.4;
	color: #050b4f;
	margin: 0 0 12px;	
}

.pai-archive-card-body p {
	color: #5a6472;
	font-size: 15px;
	line-height: 1.6;
	margin: 0 0 16px;
}

.pai-archive-card-link {
	color: #28A7DE;
	font-weight: 700;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.4px;
}

.pai-archive-empty {
	text-align: center;
	color: #5a6472;
	padding: 60px 0;
}


.pai-service-archive .pagination,
.pai-service-archive .nav-links {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-bottom: 60px;
}

.pai-service-archive .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 10px;
	border-radius: 8px;
	background: #f7f9fb;
	color: #050b4f;
	text-decoration: none;
	font-weight: 600;
}

.pai-service-archive .page-numbers.current,
.pai-service-archive .page-numbers:hover {
	background: #28A7DE;
	color: #ffffff;
}

/* ==========================================================================
   Contact page redesign
   ========================================================================== */

/* Info cards (Address / Phone / Email): rounded card, shadow, gradient icon circle */
.pai-contact-cards .et_pb_blurb {
	border-radius: 16px;
	box-shadow: 0 10px 30px rgba(5, 11, 79, 0.08);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pai-contact-cards .et_pb_blurb:hover {
	transform: translateY(-6px);
	box-shadow: 0 16px 40px rgba(5, 11, 79, 0.14);
}

.pai-contact-cards .et_pb_main_blurb_image {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	margin: 0 auto 20px;
	border-radius: 50%;
	background: linear-gradient(135deg, #28A7DE 0%, #050b4f 100%);
}

.pai-contact-cards .et_pb_main_blurb_image .et-pb-icon {
	color: #ffffff !important;
	font-size: 26px !important;
}

/* Form + image row: rounded card corners (row already has bg/shadow from Divi settings) */
.pai-contact-form-row {
	border-radius: 20px;
	overflow: hidden;
}

.pai-contact-form-row .et_pb_column:first-child {
	background-size: cover;
	background-position: center;
}

/* Form fields: rounded, light background, accent focus border */
.pai-contact-form-row .et_pb_contact_form input[type="text"],
.pai-contact-form-row .et_pb_contact_form input[type="email"],
.pai-contact-form-row .et_pb_contact_form input[type="tel"],
.pai-contact-form-row .et_pb_contact_form textarea {
	border-radius: 8px !important;
	border: 1px solid #e2e8f0 !important;
	background-color: #f7f9fb !important;
	padding: 12px 16px !important;
	transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.pai-contact-form-row .et_pb_contact_form input:focus,
.pai-contact-form-row .et_pb_contact_form textarea:focus {
	border-color: #28A7DE !important;
	box-shadow: 0 0 0 3px rgba(40, 167, 222, 0.15) !important;
	outline: none !important;
}

.pai-contact-form-row .et_pb_contact_form .et_pb_button {
	cursor: pointer;
}

/* ==========================================================================
   "About p.AI" section
   ========================================================================== */

/* Left column (photo) stays sticky while the right column (text) scrolls past it. */
.pai-sticky-col {
	position: sticky;
	top: 100px;
	align-self: flex-start;
}

/* ==========================================================================
   Single blog post
   ========================================================================== */

.single-post #sidebar {
	display: none;
}

.single-post #left-area {
	width: 100% !important;
	float: none;
	padding: 60px 30px 90px;
}

.single-post .et_pb_post {
	max-width: 800px;
	margin: 0 auto;
}

.single-post .entry-title {
	font-family: Poppins, sans-serif;
	font-weight: 700;
	font-size: 38px;
	line-height: 1.3;
	color: #050b4f;
	margin-bottom: 12px;
}

.single-post .post-meta {
	display: inline-block;
	background: #28A7DE;
	color: #ffffff;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	padding: 6px 14px;
	border-radius: 4px;
	margin-bottom: 30px;
}

.single-post .post-meta .published {
	color: #ffffff;
}

.pai-single-back {
	display: inline-block;
	max-width: 800px;
	width: 100%;
	margin: 0 auto 25px;
	color: #28A7DE;
	font-weight: 600;
	font-size: 14px;
	text-decoration: none;
}

.pai-single-back:hover {
	color: #050b4f;
}

.pai-single-featured {
	max-width: 800px;
	margin: 0 auto 35px;
}

.pai-single-featured img {
	width: 100%;
	height: 380px;
	object-fit: cover;
	border-radius: 10px;
	display: block;
}

.pai-single-body {
	color: #5a6472;
	font-size: 17px;
	line-height: 1.85;
}

.pai-single-body p {
	margin-bottom: 22px;
}

.pai-single-body a {
	color: #28A7DE;
}

.pai-single-body h2,
.pai-single-body h3 {
	color: #050b4f;
	font-weight: 700;
	margin: 35px 0 15px;
}

/* ==========================================================================
   Homepage blog grid: rounded image with date badge overlay, meta row, card look
   ========================================================================== */

.pai-blog-grid .et_pb_post {
	position: relative;
	background: #ffffff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 6px 24px rgba(5, 11, 79, 0.08);
	padding-bottom: 25px;
	margin-bottom: 30px;
}

.pai-blog-grid .et_pb_post .et_pb_image_container {
	margin: 0;
}

.pai-blog-grid .et_pb_post .et_pb_image_container img {
	width: 100%;
	height: 220px;
	object-fit: cover;
	display: block;
}

.pai-blog-grid .et_pb_post .post-meta {
	position: absolute;
	top: 180px;
	left: 20px;
	z-index: 2;
	background: #28A7DE;
	color: #ffffff;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	padding: 6px 14px;
	border-radius: 4px;
}

.pai-blog-grid .et_pb_post .post-meta .published {
	color: #ffffff;
}

.pai-blog-grid .et_pb_post h2.entry-title {
	padding: 25px 25px 0;
	margin: 0;
	font-weight: 700;
	color: #050b4f;
}

.pai-blog-grid .et_pb_post .post-content {
	padding: 10px 25px 0;
	color: #5a6472;
}

.pai-blog-grid .et_pb_post .more-link {
	display: inline-block;
	margin: 15px 25px 0;
	color: #28A7DE;
	text-transform: uppercase;
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.5px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

/* (breakpoint-specific footer wrap rules live in the RESPONSIVE section below) */

/* ==========================================================================
   Homepage hero + decorative elements ("New Home page styles")
   ========================================================================== */

.banner-adjust-thumb .text-circle-inner {
	position: absolute;
	right: 130px;
	top: -80px;
	width: 162px;
	height: 162px;
	border-radius: 50%;
	border: 1px solid #fff;
}

.pi-bg .copy {
	width: 30px;
}

.d-center {
	display: flex;
	align-items: center;
	justify-content: center;
}

.banner-adjust-thumb .hero-dot-element {
	position: absolute;
	right: -30px;
	top: -60px;
	z-index: -1;
	animation: updwon 2s linear infinite;
}

.banner-adjust-thumb .text-circle-inner .text-circle {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	animation: cirs360 20s linear infinite;
}

.pi-bg {
	background-color: #fff;
}

.banner-adjust-thumb .hero-shape-element {
	position: absolute;
	bottom: 200px;
	left: -140px;
	z-index: -1;
}

.pi_image-section:before {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 200px;
	background: #f7f9fc;
}

.pi_hero-shape img {
	position: absolute;
	right: 0;
	top: 0;
	z-index: -1;
}

.pi_hero:after {
	content: '';
	background-image: url('/wp-content/uploads/2026/08/feature-element.png');
	width: 245px;
	display: block;
	height: 222px;
	position: absolute;
	top: 0;
	right: 0;
}

.pai-services-container:before {
	content: '';
	background-image: url('/wp-content/uploads/2026/08/feature-element.png');
	width: 245px;
	display: block;
	height: 222px;
	position: absolute;
	top: 0;
	right: 0;
}

/* ==========================================================================
   "Our Feature" list section (legency-home-page) - badge + heading, then a
   list of services (icon, title, excerpt, "Read More" button per row).
   ========================================================================== */

.pai-feature-section {
	background: #ffffff;
	border-radius: 24px;
	/* padding: 0 60px 60px 60px; */
}

.pai-feature-badge {
	display: inline-block;
	background: #EAF6FE;
	color: #28A7DE;
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0.3px;
	padding: 8px 18px;
	border-radius: 30px;
}

.pai-feature-heading {
	font-family: Poppins, sans-serif;
	font-weight: 700;
	font-size: 36px;
	line-height: 1.3;
	color: #050b4f;
	margin: 0 0 40px;
}

.pai-feature-row:not(:first-child) {
	padding-top: 56px;
}

.pai-feature-row {
	position: relative;
	display: flex;
	align-items: center;
	gap: 24px;
	padding-bottom: 56px;
	border-bottom: 1px solid #eef0f5;
}

.pai-feature-icon {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: #EAF6FE;
	color: #0092ff;
	font-size: 22px;
	overflow: hidden;
}

.pai-feature-icon img {	
	width: 40px;
	height: 40px;
	object-fit: cover;
}

.pai-feature-title {
	flex: 0 0 auto;
	width: 320px;
	font-family: Poppins, sans-serif;
	font-weight: 600;
	font-size: 24px;
	line-height: 1.4;
	color: #050b4f;
	margin: 0;
	padding-bottom: 0px;   
}

.pai-feature-title a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease;
}

.pai-feature-title a:hover {
	color: #28A7DE;
}

.pai-feature-excerpt {
	font-size: 16px;
	line-height: 1.6;
	width: 100%;
	margin-inline: auto;
	margin-left: 0;
	max-width: 400px;
	display: -webkit-box;
	line-clamp: 2;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.pai-feature-btn {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: #050b4f;
	color: #ffffff;
	font-weight: 500;
	font-size: 16px;
	padding: 12px 62px 12px 32px;
	border: 1px solid #050b4f;
	border-radius: 30px;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
	position: relative;
	height: 56px;
}

.pai-feature-btn i {
	transition: transform 0.25s ease;
}

.pai-feature-btn:hover {
	background: #28a7de;
	border-color: #28a7de;
}

.pai-feature-btn:hover i {
	transform: translateX(3px);
}

/* Hover-reveal featured image: floats above the row near the "Read More" button,
   fades/scales in on hover instead of taking up permanent layout space. */
.pai-feature-hover-img {
	position: absolute;
	right: 20%;
	top: 50%;
	width: 200px;
	height: auto;
	transform: translateY(-50%) scale(0.6) rotate(-8deg);
	opacity: 0;
	pointer-events: none;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 16px 40px rgba(5, 11, 79, 0.2);
	z-index: 5;
	transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.pai-feature-hover-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.pai-feature-row:hover .pai-feature-hover-img {
	opacity: 1;
	transform: translateY(-50%) scale(1) rotate(6deg);
}

/* ==========================================================================
   [pai_services_list] shortcode - card grid
   ========================================================================== */

.pai-services-grid {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr) !important;
	gap: 30px;
}

.pai-services-grid[data-columns="2"] {
	grid-template-columns: repeat(2, 1fr) !important;
}

.pai-services-grid[data-columns="4"] {
	grid-template-columns: repeat(4, 1fr) !important;
}

.pai-services-card {
	width: auto !important;
	min-width: 0;
	background: #fff;
	border: 1px solid #ebebeb;
	border-radius: 12px;
	padding: 36px 30px;
	text-align: center;
	transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.pai-services-card:hover {
	box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
	transform: translateY(-4px);
}

.pai-services-card-icon {
	width: 64px;
	height: 64px;
	margin: 0 auto 20px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.pai-services-card-icon img {
	max-width: 100%;
	max-height: 100%;
}

.pai-services-card-icon i {
	font-size: 32px;
	color: var(--pai-primary, #0a2540);
}

.pai-services-card-title a {
	color: inherit;
	text-decoration: none;
}

.pai-services-card-excerpt {
	margin: 12px 0 20px;
	font-size: 15px;
	line-height: 1.6;
	opacity: 0.8;
}

.pai-services-card-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	text-decoration: none;
}

/* ==========================================================================
   "Talk to a Pharma Specialist" form section - left column cover image
   ========================================================================== */

.pai-talk-form-image,
.pai-talk-form-image .et_pb_image_wrap {
	height: 100%;
}

.pai-talk-form-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* ==========================================================================
   Contact Form
   ========================================================================== */

.contact-form-row {
    display: flex;
    gap: 15px;
    width: 100%;
    margin-bottom: 15px;
}

.contact-field {
	flex: 1;
	position: relative;
}

.contact-field input,
.contact-field textarea {
	width: 100%;
	height: 50px;
	box-sizing: border-box;
	border: 1px solid #e2e8f0;
	border-radius: 30px;
	background: #ffffff;
	padding: 0 20px;
	font-size: 16px;
	color: #050b4f;
	outline: none;
	font-family: inherit;
	transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.15s ease;
}

.contact-field textarea {
	min-height: 150px;
	padding-top: 14px;
	border-radius: 20px;
	resize: none;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
	color: #a7aab2;
	opacity: 1;
}

.contact-field input:focus,
.contact-field textarea:focus {
	border-color: #28A7DE;
	box-shadow: 0 0 0 4px rgba(40, 167, 222, 0.15);
	transform: translateY(-1px);
}

/* Icon prefix per field, matched via Contact Form 7's auto-generated name class
   on the field wrapper - no extra markup needed. */
.contact-field::before {
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	position: absolute;
	left: 20px;
	top: 24px;
	transform: translateY(-50%);
	color: #28A7DE;
	font-size: 15px;
	pointer-events: none;
	z-index: 1;
}

.contact-field:has(.first-name)::before,
.contact-field:has(.last-name)::before {
	content: "\f007";
}

.contact-field:has(.company-name)::before {
	content: "\f1ad";
}

.contact-field:has(.email-address)::before {
	content: "\f0e0";
}

.contact-field:has(.subject)::before {
	content: "\f27a";
}

.contact-field:has(.message)::before {
	content: "\f036";
	top: 32px;
}

/* Email / full-width fields */
.contact-email {
	width: 100%;
	margin-bottom: 16px;
}

/* Submit button - gradient pill matching the site's brand blue-to-navy hover pattern */
.contact-submit {
	margin-top: 7px;
	position: relative;
}

/* ==========================================================================
   RESPONSIVE
   Every @media rule in this file, consolidated here by breakpoint instead of
   scattered next to each section above. Add new responsive overrides to the
   matching breakpoint block below rather than writing a new @media block.
   ========================================================================== */


@media (max-width: 1440px) {
	.pai-feature-excerpt {      
		max-width: 250px;
	}
}
@media (min-width: 1350px) {
	.et_pb_row {
		padding: 27px 0;
	}

	.et_pb_section {
		padding: 54px 0;
	}

	.et_pb_fullwidth_section {
		padding: 0;
	}
}

@media (max-width: 1300px) and (min-width: 981px) {
	/* Footer */
	.et_pb_row_0_tb_footer.et_pb_row {
		flex-wrap: wrap;
	}

	.et_pb_row_0_tb_footer .et_pb_column_0_tb_footer {
		width: 100% !important;
		margin-bottom: 30px;
	}

	.et_pb_row_0_tb_footer .et_pb_column_1_tb_footer,
	.et_pb_row_0_tb_footer .et_pb_column_2_tb_footer {
		width: 47% !important;
	}

	.et_pb_row_0_tb_footer .et_pb_column_0_tb_footer .et_pb_text {
		max-width: 100% !important;
		margin-left: 0 !important;
	}
}

/* Laptop (981px - 1440px): scale down the largest CSS-set headings and numerals.
   `body` prefix keeps these winning over the base rules defined later in the file. */
@media (min-width: 981px) and (max-width: 1440px) {
	body .pai-service-hero-banner .pai-page-banner-title { font-size: 46px; }
	body .pai-prodarch-hero h1 { font-size: 42px; }
	body .pai-contact-reach .pai-sec-head h2 { font-size: 42px; }
	body .pai-pp-intro .pai-pp-title h2 { font-size: 40px; }
	body .pai-expertise .pai-exp-num .et_pb_text_inner { font-size: 60px; }

	/* All pages: builder-set H2s in Divi text modules (e.g. 48px on desktop).
	   Sections with a `pai-*` class are styled by their own rules above and are left alone.
	   Scales fluidly: ~33px at 981px wide, 44px at 1366px+. */
	body #page-container .et_pb_section:not([class*="pai-"]) .et_pb_text_inner h2,
	body #page-container .et_pb_section.pai-reverse .et_pb_text_inner h2 {
		font-size: clamp(32px, 3.4vw, 44px);
	}

	/* Same for H1 (hero headings): ~36px at 981px wide, 48px at 1360px+. */
	body #page-container .et_pb_section:not([class*="pai-"]) .et_pb_text_inner h1,
	body #page-container .et_pb_section.pai-reverse .et_pb_text_inner h1 {
		font-size: clamp(34px, 3.6vw, 48px);
		line-height: 1.2;
	}
}

@media (min-width: 981px) {
	/* "About p.AI": left column (image + heading) sticks while the taller right
	   column (text + blurbs) scrolls past. Desktop only. */
	.pai-about-row.et_pb_row {
		align-items: flex-start !important;
	}

	.pai-about-row .et_pb_column:first-child {
		position: -webkit-sticky;
		position: sticky;
		top: 110px;
		align-self: flex-start;
	}
}

@media (max-width: 991px) {
	/* Service archive grid */
	.pai-archive-grid.pai-archive-grid--creative,
	.pai-archive-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	/* "Our Feature" list section */
	.pai-feature-hover-img {
		display: none;
	}

	/* [pai_services_list] card grid */
	.pai-services-grid,
	.pai-services-grid[data-columns="2"],
	.pai-services-grid[data-columns="4"] {
		grid-template-columns: 1fr;
	}

	.pai-feature-row {
		flex-wrap: wrap;
	}

	.pai-feature-title {
		width: 100%;
	}

	.pai-feature-excerpt {
		width: 100%;
		order: 3;
	}                 	
}

@media (max-width: 980px) {
	/* `pai-reverse` (on the section): flip the stacked column order on tablet/phone only (text first, image below). Desktop 981px+ is unchanged. */
	.pai-reverse.et_pb_row,
	.pai-reverse > .et_pb_row {
		display: flex;
		flex-direction: column-reverse;
	}

	.pai-reverse.et_pb_row > .et_pb_column,
	.pai-reverse > .et_pb_row > .et_pb_column {
		width: 100% !important;
		margin-right: 0 !important;
		margin-left: 0 !important;
	}

	/* L2AI section - circular diagram has no responsive width control by default,
	   so on narrow screens it can render at native size and overflow the viewport. */
	.pai-l2ai-section img {
		max-width: 100%;
		height: auto;
	}

	/* Bigdata stats section */
	.pai-stats-row {
		flex-wrap: wrap;
	}

	.pai-stats-row .et_pb_column {
		width: 47% !important;
		margin-bottom: 20px;
	}

	/* Contact page */
	.pai-contact-cards .et_pb_blurb { 
		margin-bottom: 20px;
	}

	/* "About p.AI" sticky column - desktop-only effect */
	.pai-sticky-col {
		position: static;
	}

	/* Mobile-menu-only item */
	.ph_mob-menu.menu-item {
		display: block !important;
	}
}

@media (max-width: 767px) {
	/* L2AI section - 4-column step grid stacks to one column on phone instead of
	   squeezing two narrow columns side by side. */
	.pai-process-row {
		flex-wrap: wrap;
	}
	.pai-process-row .et_pb_column {
		width: 100% !important;
		margin-bottom: 30px;
	}

	/* Bigdata stats section */
	.pai-bigdata-section .et_pb_blurb .et_pb_module_header {
		font-size: 24px !important;
	}

	.pai-stats-row .et_pb_column {
		width: 100% !important;
	}

	/* Service archive feature groups */
	.pai-feature-group {
		margin: 40px 0;
	}

	/* Page title + breadcrumb banner */
	.pai-page-banner {
		padding: 50px 20px;
	}

	.pai-page-banner-title {
		font-size: 28px;
	}

	/* Single service page */
	.pai-service-hero {
		flex-direction: column;
	}

	.pai-service-features {
		grid-template-columns: 1fr;
	}

	.pai-service-single {
		padding: 40px 20px 70px;
	}
	.pai-feature-btn {
		font-size: 14px;
		padding: 12px 62px 12px 20px;
	}
	.pai-feature-row:not(:first-child) {
		padding-top: 25px;
	}
	.pai-feature-row {
        padding-bottom: 25px;
    }
}

@media (max-width: 600px) {
	/* Service archive grid */
	.pai-archive-grid.pai-archive-grid--creative,
	.pai-archive-grid {
		grid-template-columns: 1fr;
	}

	.pai-service-archive {
		padding: 50px 20px 40px;
	}

	/* Contact Form */
	.contact-form-row {
		flex-direction: column;
		gap: 14px;
	}

	.contact-field input {
		height: 46px;
	}

	.pai-btn-arrow-input-wrap {
		height: 48px;
	}

	/* Cookie consent popup */
	body .light.cc_dialog {
		width: 100% !important;
		max-width: 100% !important;
		left: 0 !important;
		right: 0 !important;
		box-sizing: border-box;
		padding: 12px;
	}

	.cc_dialog .cc_dialog_inner {
		padding: 16px !important;
	}

	.cc_dialog .cc_dialog_inner button {
		display: block;
		width: 100%;
		padding: 12px 16px !important;
	}

	body .cc_dialog .cc_dialog_inner button.cc_b_cp {
		margin: 10px 0 0 !important;
	}
}

@media (max-width: 480px) {
	.pai_hero-eye {
		height: 170px;
		object-fit: cover;
	}
	/* "Our Feature" list section */
	.pai-feature-heading {
		font-size: 26px;
	}

	/* Contact page top bar */
	.pai-header-contact {
		gap: 12px;
	}
}

/* --- New Service Card Design --- */
.pai-services-archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.pai-services-archive-grid .pai-service-card-icon{
	width: 80px;
	height: 80px;
}
.pai-services-archive-grid .pai-service-card-icon img {
	width: 40px;
	height: 40px;
}

.pai-service-card-new {
	background: #ffffff;
	border-radius: 20px;
	padding: 30px;		
	display: flex;
	flex-direction: column;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pai-service-card-new:hover {
	transform: translateY(5px);
}

.pai-service-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}
.pai-services-archive-grid .pai-service-card-excerpt {
    margin-bottom: 30px;
}
.pai-service-card-icon {
	width: 60px;
	height: 60px;
	background-color: #EAF6FE;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	transition: background-color 0.3s ease;
}

.pai-service-card-icon i {
	font-size: 24px;
	color: #000;
}

.pai-service-card-icon img {
	width: 32px;
	height: 32px;
	object-fit: contain;
}

.pai-service-card-title {
	margin: 0;
	padding: 0;
}

.pai-service-card-title a {
	color: #000;
	font-size: 22px;
	font-weight: 700;
	text-decoration: none;
	line-height: 1.3;
	transition: color 0.2s ease;
}

.pai-service-card-new:hover .pai-service-card-icon {
    background-color: #28A7DE;
}

.pai-service-card-new:hover .pai-service-card-icon img {
    filter: brightness(1);
}
.pai-service-card-excerpt p {
	color: #666;
	font-size: 15px;
	line-height: 1.6;
	margin: 0 0 25px 0;
}

.pai-service-card-image-wrap {
    position: relative;
    margin-top: auto;
    padding-top: 61%;
    overflow: hidden;
}

.pai-service-card-image-wrap .pai-service-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    display: block;
    position: absolute;
    inset: 0;
}
.pai-service-card-btn {
    background: #ffffff;
    border: 1px solid #d8e8ca;
    padding: 19px 30px;
    border-radius: 30px;
    color: #050B4F;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    margin: 0 auto;
    text-align: center;
    position: relative;
    display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.pai-service-card-new:hover .pai-service-card-btn {
    background: #28A7DE;
    border-color: #28A7DE;
    color: #ffffff;
}

.pai-service-card-new:hover .pai-service-card-btn .pai-btn-arrow-icon {
	filter: brightness(0) invert(1);
}


/* About section decorative thumbnail elements (animated accents) */
.about-thumb-inner .about1-bg {
	position: absolute;
	bottom: 0;
	left: 50%;
	z-index: -1;
	transform: translateX(-50%);
}
.about-thumb-inner .thumb {
	max-width: 387px;
	margin: 0 auto;
}
.about-thumb-inner .about1-element1 {
	position: absolute;
	bottom: 50px;
	left: -30px;
	animation: rots 2s linear infinite;
}
.about-thumb-inner .about1-element2 {
	position: absolute;
	bottom: 190px;
	right: -30px;
	animation: updown 2s linear infinite;
}
@keyframes rots {
  50% {
    transform: rotate(7deg);
  }
}
@keyframes updown {
  50% {
    transform: translateY(10px);
  }
}


/* ==========================================================================
   About us: "Our work combines expertise in" - matches the legacy home page's
   "Explainable AI Solutions" block: #f7f9fc section, one white 30px-rounded
   container, pill badge + light-weight heading, then hairline-separated rows.
   Built with native Divi rows stacked with no gap so they read as one container:
     .pai-exp-head (badge + heading), .pai-exp-row x4 (1/3 number+title | 2/3 copy),
     .pai-exp-closing-row (soft-blue band).
   Edit text in the Divi Builder; the look lives here.
   ========================================================================== */
.pai-expertise.et_pb_section {
	padding-left: 20px !important;
	padding-right: 20px !important;
}

.pai-expertise .pai-exp-head.et_pb_row,
.pai-expertise .pai-exp-row.et_pb_row,
.pai-expertise .pai-exp-closing-row.et_pb_row {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

.pai-expertise .pai-exp-head.et_pb_row {
	padding: 64px 64px 28px !important;
	border-radius: 30px 30px 0 0;
}

.pai-expertise .pai-exp-badge {
	margin-bottom: 22px !important;
}

.pai-expertise .pai-exp-badge .et_pb_text_inner {
	display: inline-block;
	padding: 8px 18px;
	border-radius: 30px;
	background: #EAF6FE;
	color: #28A7DE;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.3px;
	line-height: 1.4;
}

.pai-expertise .pai-exp-heading {
	margin-bottom: 0 !important;
}

/* Item rows: number + title on the left, copy on the right. */
.pai-expertise .pai-exp-row.et_pb_row {
	display: grid !important;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: 48px;
	align-items: start;
	padding: 40px 64px !important;
	border-top: 1px solid #eef0f5;
	transition: background-color 0.3s ease;
}

/* Divi's clearfix pseudo-elements would otherwise become grid items. */
.pai-expertise .pai-exp-row.et_pb_row::before,
.pai-expertise .pai-exp-row.et_pb_row::after {
	display: none !important;
	content: none !important;
}

.pai-expertise .pai-exp-row .et_pb_column {
	float: none !important;
	width: auto !important;
	margin: 0 !important;
}

.pai-expertise .pai-exp-row:hover {
	background-color: #fafcfe !important;
}

.pai-expertise .pai-exp-row .et_pb_text {
	margin-bottom: 0 !important;
}

/* Big outlined numeral (01-04); fills with the accent colour on row hover. */
.pai-expertise .pai-exp-num {
	margin-bottom: 8px !important;
}

.pai-expertise .pai-exp-num .et_pb_text_inner {
	font-family: Poppins, sans-serif;
	font-size: 72px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.02em;
	color: transparent;
	-webkit-text-stroke: 1.5px #28A7DE;
	transition: color 0.3s ease;
}

.pai-expertise .pai-exp-row:hover .pai-exp-num .et_pb_text_inner {
	color: #28A7DE;
}

.pai-expertise .pai-exp-title .et_pb_text_inner {
	font-family: Poppins, sans-serif;
	font-size: 26px;
	font-weight: 600;
	line-height: 1.35;
	color: #050b4f;
	transition: color 0.3s ease;
}

.pai-expertise .pai-exp-row:hover .pai-exp-title .et_pb_text_inner {
	color: #28A7DE;
}

.pai-expertise .pai-exp-desc .et_pb_text_inner {
	font-size: 18px;
	line-height: 1.8;
	color: #313131;
}

/* Closing statement band. */
.pai-expertise .pai-exp-closing-row.et_pb_row {
	padding: 44px 64px !important;
	border-radius: 0 0 30px 30px;
}

.pai-expertise .pai-exp-closing {
	margin-bottom: 0 !important;
}

.pai-expertise .pai-exp-closing .et_pb_text_inner {
	max-width: 820px;
	margin: 0 auto;
	font-family: Poppins, sans-serif;
	font-size: 20px;
	font-weight: 500;
	line-height: 1.6;
	text-align: center;
	color: #050b4f;
}

@media (max-width: 980px) {
	.pai-expertise .pai-exp-head.et_pb_row {
		padding: 48px 40px 24px !important;
	}

	.pai-expertise .pai-exp-row.et_pb_row {
		grid-template-columns: 1fr;
		gap: 14px;
		padding: 32px 40px !important;
	}

	.pai-expertise .pai-exp-closing-row.et_pb_row {
		padding: 36px 40px !important;
	}
}

@media (max-width: 600px) {
	.pai-expertise.et_pb_section {
		padding-left: 20px !important;
		padding-right: 20px !important;
	}

	.pai-expertise .pai-exp-head.et_pb_row {
		padding: 36px 24px 20px !important;
	}

	.pai-expertise .pai-exp-row.et_pb_row {
		padding: 28px 24px !important;
	}

	.pai-expertise .pai-exp-num .et_pb_text_inner {
		font-size: 56px;
	}

	.pai-expertise .pai-exp-title .et_pb_text_inner {
		font-size: 22px;
	}

	.pai-expertise .pai-exp-desc .et_pb_text_inner {
		font-size: 16px;
		line-height: 1.7;
	}

	.pai-expertise .pai-exp-closing-row.et_pb_row {
		padding: 30px 24px !important;
	}

	.pai-expertise .pai-exp-closing .et_pb_text_inner {
		font-size: 17px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.pai-expertise .pai-exp-row.et_pb_row,
	.pai-expertise .pai-exp-num .et_pb_text_inner,
	.pai-expertise .pai-exp-title .et_pb_text_inner {
		transition: none;
	}
}

/* ==========================================================================
   About us: "Why p.AI?" - dark navy statement section. Centered badge, light
   heading, lead line, a glass-style card holding the translation-chain
   paragraph, and the closing line as an accent-colour statement.
   One Divi row / column with five text modules (.pai-why-badge, -heading,
   -lead, -chain, -statement). Edit text in the Divi Builder; the look lives here.
   ========================================================================== */
.pai-why.et_pb_section {
	position: relative;
	overflow: hidden;
	background-color: #050b4f;
	background-image:
		radial-gradient(60% 80% at 100% 0%, rgba(40, 167, 222, 0.28) 0%, rgba(40, 167, 222, 0) 60%),
		radial-gradient(50% 70% at 0% 100%, rgba(40, 167, 222, 0.16) 0%, rgba(40, 167, 222, 0) 60%);
}

.pai-why .pai-why-wrap.et_pb_row {
	position: relative;
	z-index: 1;
}

.pai-why .pai-why-wrap .et_pb_column {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.pai-why .pai-why-wrap .et_pb_text {
	width: 100%;
	max-width: 960px;
	margin-bottom: 0 !important;
	text-align: center;
}

.pai-why .pai-why-wrap .pai-why-badge.et_pb_text {
	margin-bottom: 28px !important;
}

.pai-why .pai-why-badge .et_pb_text_inner {
	display: inline-block;
	padding: 8px 20px;
	border: 1px solid rgba(124, 208, 245, 0.35);
	border-radius: 30px;
	background: rgba(255, 255, 255, 0.08);
	color: #7cd0f5;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.3px;
	line-height: 1.4;
}

.pai-why .pai-why-heading h2,
.pai-why .pai-why-heading h2 strong {
	color: #ffffff !important;
}

/* Extra room under the heading so its swoosh underline never touches the lead line. */
.pai-why .pai-why-wrap .pai-why-heading.et_pb_text {
	margin-bottom: 48px !important;
}

.pai-why .pai-why-wrap .pai-why-lead.et_pb_text {
	margin-bottom: 52px !important;
}

.pai-why .pai-why-lead .et_pb_text_inner {
	max-width: 760px;
	margin: 0 auto;
	font-size: 22px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.82);
}

.pai-why .pai-why-lead .et_pb_text_inner p {
	padding-bottom: 0;
}

/* Glass card for the chain paragraph. */
.pai-why .pai-why-wrap .pai-why-chain.et_pb_text {
	margin-bottom: 64px !important;
	padding: 44px 56px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 24px;
	box-sizing: border-box;
}

.pai-why .pai-why-chain .et_pb_text_inner {
	font-size: 19px;
	line-height: 1.85;
	color: rgba(255, 255, 255, 0.92);
}

.pai-why .pai-why-chain .et_pb_text_inner p {
	padding-bottom: 0;
}

/* Closing statement with a short accent rule above. */
.pai-why .pai-why-statement .et_pb_text_inner {
	font-family: Poppins, sans-serif;
	font-size: 36px;
	font-weight: 600;
	line-height: 1.3;
	color: #28A7DE;
}

.pai-why .pai-why-statement .et_pb_text_inner::before {
	content: '';
	display: block;
	width: 56px;
	height: 3px;
	margin: 0 auto 28px;
	border-radius: 3px;
	background: #28A7DE;
}

@media (max-width: 980px) {
	.pai-why .pai-why-wrap .pai-why-heading.et_pb_text {
		margin-bottom: 40px !important;
	}

	.pai-why .pai-why-wrap .pai-why-lead.et_pb_text {
		margin-bottom: 36px !important;
	}

	.pai-why .pai-why-lead .et_pb_text_inner {
		font-size: 19px;
	}

	.pai-why .pai-why-wrap .pai-why-chain.et_pb_text {
		margin-bottom: 48px !important;
		padding: 32px 32px;
	}

	.pai-why .pai-why-statement .et_pb_text_inner {
		font-size: 28px;
	}
}

@media (max-width: 600px) {
	.pai-why .pai-why-wrap .pai-why-chain.et_pb_text {
		padding: 26px 22px;
		border-radius: 18px;
	}

	.pai-why .pai-why-chain .et_pb_text_inner {
		font-size: 16px;
		line-height: 1.75;
	}

	.pai-why .pai-why-lead .et_pb_text_inner {
		font-size: 17px;
	}

	.pai-why .pai-why-statement .et_pb_text_inner {
		font-size: 23px;
	}
}

/* ==========================================================================
   About us: "Our approach to AI in pharmacovigilance" - legacy home page look
   ("Explainable AI Solutions" block): #f7f9fc section, one white 30px-rounded
   container, light-weight heading, then hairline-separated icon rows (#EAF6FE
   circle -> #28A7DE on hover), closed off by a soft-blue band.
   Native Divi: row .pai-approach-card (one column: title, intro, principle,
   lead-in, 8 blurbs .pai-approach-item) + row .pai-approach-close (3 text modules).
   Icons are set on each blurb in the Divi Builder (Font Awesome).
   ========================================================================== */
.pai-approach.et_pb_section {
	background: #f7f9fc;
}

.pai-approach .pai-approach-card.et_pb_row {
	margin-bottom: 0 !important;
	padding: 72px 64px 56px !important;
	border-radius: 30px 30px 0 0;
}

/* One grid: title + intro on the left, principle on the right, list below. */
.pai-approach .pai-approach-card .et_pb_column {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 64px;
	row-gap: 0;
	align-items: start;
}

.pai-approach .pai-approach-card .et_pb_column > * {
	margin-bottom: 0 !important;
}

/* Centered intro block, same as the home page "Support built for..." section. */
.pai-approach .pai-approach-title,
.pai-approach .pai-approach-intro,
.pai-approach .pai-approach-principle {
	grid-column: 1 / -1;
}

.pai-approach .pai-approach-title {
	padding-bottom: 28px;
}

.pai-approach .pai-approach-title .et_pb_text_inner {
	text-align: center;
}

.pai-approach .pai-approach-intro .et_pb_text_inner,
.pai-approach .pai-approach-principle .et_pb_text_inner {
	max-width: 1080px;
	margin: 0 auto;
	font-size: 18px;
	line-height: 1.8;
	text-align: center;
	color: #313131;
}

.pai-approach .pai-approach-principle {
	margin-top: 4px !important;
}

.pai-approach .pai-approach-intro .et_pb_text_inner p,
.pai-approach .pai-approach-principle .et_pb_text_inner p,
.pai-approach .pai-approach-lead .et_pb_text_inner p,
.pai-approach .pai-approach-close .et_pb_text_inner p {
	padding-bottom: 0;
}

/* Lead-in above the list. */
.pai-approach .pai-approach-lead {
	grid-column: 1 / -1;
	margin-top: 56px !important;
	padding-bottom: 24px;
	border-bottom: 1px solid #eef0f5;
}

.pai-approach .pai-approach-lead .et_pb_text_inner {
	font-size: 18px;
	font-weight: 600;
	line-height: 1.8;
	color: #050b4f;
}

/* List rows: icon circle + title, hairline underneath. */
.pai-approach .pai-approach-item.et_pb_blurb {
	margin: 0 !important;
	padding: 28px 0;
	border-bottom: 1px solid #eef0f5;
}

.pai-approach .pai-approach-item:nth-last-child(-n + 2) {
	border-bottom: 0;
}

.pai-approach .pai-approach-item .et_pb_blurb_content {
	display: flex;
	align-items: center;
	gap: 24px;
	max-width: none;
	text-align: left;
}

.pai-approach .pai-approach-item .et_pb_main_blurb_image {
	flex: 0 0 auto;
	margin: 0 !important;
}

.pai-approach .pai-approach-item .et_pb_blurb_container {
	flex: 1 1 auto;
	padding: 0 !important;
}

.pai-approach .pai-approach-item .et_pb_main_blurb_image .et-pb-icon {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 60px !important;
	height: 60px !important;
	margin: 0 !important;
	padding: 0 !important;
	border-radius: 50%;
	background: #EAF6FE;
	color: #28A7DE !important;
	font-size: 22px !important;
	line-height: 1 !important;
	transition: background-color 0.3s ease, color 0.3s ease;
}

.pai-approach .pai-approach-item:hover .et_pb_main_blurb_image .et-pb-icon {
	background: #28A7DE;
	color: #ffffff !important;
}

.pai-approach .pai-approach-item .et_pb_module_header {
	margin: 0;
	padding-bottom: 0;
	font-family: Poppins, sans-serif;
	font-size: 24px;
	font-weight: 600;
	line-height: 1.4;
	color: #050b4f;
	transition: color 0.2s ease;
}

.pai-approach .pai-approach-item:hover .et_pb_module_header {
	color: #28A7DE;
}

/* Soft-blue closing band, joined to the bottom of the container. */
.pai-approach .pai-approach-close.et_pb_row {
	margin-top: 0 !important;
	padding: 52px 64px !important;
	border-radius: 0 0 30px 30px;
	overflow: hidden;
}

.pai-approach .pai-approach-close .et_pb_text {
	max-width: 1080px;
	margin: 0 auto !important;
}

/* Common body copy: 18px / 1.8 / #313131, as on the home page. */
.pai-approach .pai-approach-close .et_pb_text_inner {
	font-size: 18px;
	line-height: 1.8;
	text-align: center;
	color: #313131;
}

/* Specific enough to beat the band's "margin: 0 auto" above. */
.pai-approach .pai-approach-close .pai-approach-not.et_pb_text {
	margin-top: 20px !important;
}

.pai-approach .pai-approach-close .pai-approach-is.et_pb_text {
	margin-top: 4px !important;
}

/* Closing line carries the feature-title weight (Poppins 600, navy). */
.pai-approach .pai-approach-is .et_pb_text_inner {
	font-family: Poppins, sans-serif;
	font-size: 24px;
	font-weight: 600;
	line-height: 1.5;
	color: #050b4f;
}

@media (max-width: 1100px) {
	.pai-approach .pai-approach-card.et_pb_row {
		padding: 56px 40px 40px !important;
	}

	.pai-approach .pai-approach-lead {
		margin-top: 44px !important;
	}

	.pai-approach .pai-approach-close.et_pb_row {
		padding: 40px !important;
	}
}

@media (max-width: 700px) {
	.pai-approach .pai-approach-card.et_pb_row {
		padding: 40px 24px 28px !important;
	}

	.pai-approach .pai-approach-card .et_pb_column {
		grid-template-columns: minmax(0, 1fr);
	}

	.pai-approach .pai-approach-item:nth-last-child(2) {
		border-bottom: 1px solid #eef0f5;
	}

	.pai-approach .pai-approach-intro .et_pb_text_inner,
	.pai-approach .pai-approach-principle .et_pb_text_inner,
	.pai-approach .pai-approach-close .et_pb_text_inner,
	.pai-approach .pai-approach-lead .et_pb_text_inner {
		font-size: 16px;
		line-height: 1.7;
	}

	.pai-approach .pai-approach-lead {
		margin-top: 32px !important;
	}

	.pai-approach .pai-approach-item.et_pb_blurb {
		padding: 20px 0;
	}

	.pai-approach .pai-approach-item .et_pb_blurb_content {
		gap: 16px;
	}

	.pai-approach .pai-approach-item .et_pb_main_blurb_image .et-pb-icon {
		width: 52px !important;
		height: 52px !important;
		font-size: 19px !important;
	}

	.pai-approach .pai-approach-item .et_pb_module_header {
		font-size: 18px;
	}

	.pai-approach .pai-approach-close.et_pb_row {
		padding: 32px 24px !important;
	}

	.pai-approach .pai-approach-review .et_pb_text_inner {
		font-size: 18px;
	}

	.pai-approach .pai-approach-not .et_pb_text_inner {
		font-size: 16px;
	}

	.pai-approach .pai-approach-is .et_pb_text_inner {
		font-size: 22px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.pai-approach .pai-approach-item .et_pb_main_blurb_image .et-pb-icon,
	.pai-approach .pai-approach-item .et_pb_module_header {
		transition: none;
	}
}

/* ==========================================================================
   About us: "Designed for regulated pharmaceutical environments" - same common
   design as the home page: white section, centered light-weight heading,
   18px/1.8 #313131 body copy, feature rows (60px-style #EAF6FE icon circle,
   navy 600 title, #eef0f5 hairlines) in three columns, and a soft-blue band.
   Native Divi: row .pai-reg-list (one column: title, intro, lead-in, 13 blurbs
   .pai-reg-item) + row .pai-reg-close. Icons are set on each blurb in the Builder.
   ========================================================================== */
.pai-regulated.et_pb_section {
	background: #ffffff;
}

.pai-regulated .pai-reg-list.et_pb_row {
	padding: 0 !important;
}

.pai-regulated .pai-reg-list .et_pb_column {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	column-gap: 56px;
	row-gap: 0;
	align-items: start;
}

.pai-regulated .pai-reg-list .et_pb_column > * {
	margin-bottom: 0 !important;
}

/* Centered intro block, same as the home page "Support built for..." section. */
.pai-regulated .pai-reg-title,
.pai-regulated .pai-reg-intro,
.pai-regulated .pai-reg-lead {
	grid-column: 1 / -1;
}

.pai-regulated .pai-reg-title {
	padding-bottom: 28px;
}

.pai-regulated .pai-reg-title .et_pb_text_inner {
	text-align: center;
}

.pai-regulated .pai-reg-intro .et_pb_text_inner,
.pai-regulated .pai-reg-lead .et_pb_text_inner {
	max-width: 1080px;
	margin: 0 auto;
	font-size: 18px;
	line-height: 1.8;
	text-align: center;
	color: #313131;
}

.pai-regulated .pai-reg-intro .et_pb_text_inner p,
.pai-regulated .pai-reg-lead .et_pb_text_inner p,
.pai-regulated .pai-reg-closing .et_pb_text_inner p {
	padding-bottom: 0;
}

.pai-regulated .pai-reg-lead {
	margin-top: 4px !important;
	padding-bottom: 36px;
	border-bottom: 1px solid #eef0f5;
}

/* Feature rows: icon circle + title, hairline underneath. */
.pai-regulated .pai-reg-item.et_pb_blurb {
	margin: 0 !important;
	padding: 28px 0;
	border-bottom: 1px solid #eef0f5;
}

.pai-regulated .pai-reg-item:last-child {
	border-bottom: 0;
}

.pai-regulated .pai-reg-item .et_pb_blurb_content {
	display: flex;
	align-items: center;
	gap: 20px;
	max-width: none;
	text-align: left;
}

.pai-regulated .pai-reg-item .et_pb_main_blurb_image {
	flex: 0 0 auto;
	margin: 0 !important;
}

.pai-regulated .pai-reg-item .et_pb_blurb_container {
	flex: 1 1 auto;
	padding: 0 !important;
}

.pai-regulated .pai-reg-item .et_pb_main_blurb_image .et-pb-icon {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 56px !important;
	height: 56px !important;
	margin: 0 !important;
	padding: 0 !important;
	border-radius: 50%;
	background: #EAF6FE;
	color: #28A7DE !important;
	font-size: 20px !important;
	line-height: 1 !important;
	transition: background-color 0.3s ease, color 0.3s ease;
}

.pai-regulated .pai-reg-item:hover .et_pb_main_blurb_image .et-pb-icon {
	background: #28A7DE;
	color: #ffffff !important;
}

.pai-regulated .pai-reg-item .et_pb_module_header {
	margin: 0;
	padding-bottom: 0;
	font-family: Poppins, sans-serif;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.4;
	color: #050b4f;
	transition: color 0.2s ease;
}

.pai-regulated .pai-reg-item:hover .et_pb_module_header {
	color: #28A7DE;
}

/* Soft-blue closing band. */
.pai-regulated .pai-reg-close.et_pb_row {
	margin-top: 64px !important;
	padding: 52px 64px !important;
	border-radius: 30px;
	overflow: hidden;
}

.pai-regulated .pai-reg-close .et_pb_text {
	max-width: 1000px;
	margin: 0 auto !important;
}

.pai-regulated .pai-reg-closing .et_pb_text_inner {
	font-family: Poppins, sans-serif;
	font-size: 24px;
	font-weight: 600;
	line-height: 1.5;
	text-align: center;
	color: #050b4f;
}

@media (max-width: 1100px) {
	.pai-regulated .pai-reg-list .et_pb_column {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 40px;
	}

	.pai-regulated .pai-reg-item:nth-last-child(2) {
		border-bottom: 1px solid #eef0f5;
	}

	.pai-regulated .pai-reg-close.et_pb_row {
		margin-top: 48px !important;
		padding: 40px !important;
	}
}

@media (max-width: 700px) {
	.pai-regulated .pai-reg-list .et_pb_column {
		grid-template-columns: minmax(0, 1fr);
	}

	.pai-regulated .pai-reg-intro .et_pb_text_inner,
	.pai-regulated .pai-reg-lead .et_pb_text_inner {
		font-size: 16px;
		line-height: 1.7;
	}

	.pai-regulated .pai-reg-lead {
		padding-bottom: 28px;
	}

	.pai-regulated .pai-reg-item.et_pb_blurb {
		padding: 20px 0;
	}

	.pai-regulated .pai-reg-item .et_pb_blurb_content {
		gap: 16px;
	}

	.pai-regulated .pai-reg-item .et_pb_main_blurb_image .et-pb-icon {
		width: 48px !important;
		height: 48px !important;
		font-size: 18px !important;
	}

	.pai-regulated .pai-reg-item .et_pb_module_header {
		font-size: 18px;
	}

	.pai-regulated .pai-reg-close.et_pb_row {
		margin-top: 36px !important;
		padding: 32px 24px !important;
		border-radius: 20px;
	}

	.pai-regulated .pai-reg-closing .et_pb_text_inner {
		font-size: 20px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.pai-regulated .pai-reg-item .et_pb_main_blurb_image .et-pb-icon,
	.pai-regulated .pai-reg-item .et_pb_module_header {
		transition: none;
	}
}

/* Product pages reuse the .pai-reg-* list; with six items (two rows of three) the whole
   last row, not just the last item, drops its bottom hairline. */
.pai-regulated .pai-reg-six .pai-reg-item:nth-last-child(-n + 3) {
	border-bottom: 0;
}

@media (max-width: 1100px) {
	.pai-regulated .pai-reg-six .pai-reg-item:nth-last-child(3) {
		border-bottom: 1px solid #eef0f5;
	}
}

@media (max-width: 700px) {
	.pai-regulated .pai-reg-six .pai-reg-item:nth-last-child(2) {
		border-bottom: 1px solid #eef0f5;
	}
}

/* ==========================================================================
   About us: Products (L2AI + AI-assisted literature monitoring). Legacy home
   page "feature row" pattern: #f7f9fc section, white 30px-rounded container,
   product title + Read More button on the left, details on the right, hairline
   between products. Built from two stacked native Divi rows (.pai-prod-first /
   .pai-prod-last, each 1/3 + 2/3 columns) so they read as one container.
   The L2AI list items are Divi blurbs (.pai-prod-item) with Font Awesome icons.
   ========================================================================== */
.pai-products.et_pb_section {
	background: #f7f9fc;
}

.pai-products .pai-prod.et_pb_row {
	display: grid !important;
	grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
	gap: 64px;
	align-items: start;
	margin: 0 auto !important;
	padding: 64px !important;
}

/* Divi's clearfix pseudo-elements would otherwise become grid items. */
.pai-products .pai-prod.et_pb_row::before,
.pai-products .pai-prod.et_pb_row::after {
	display: none !important;
	content: none !important;
}

.pai-products .pai-prod > .et_pb_column {
	float: none !important;
	width: auto !important;
	margin: 0 !important;
}

.pai-products .pai-prod-last.et_pb_row {
	border-top: 1px solid #eef0f5;
}

/* Left: title + button. */
.pai-products .pai-prod-title {
	margin-bottom: 28px !important;
}

.pai-products .pai-prod-title h2 {
	padding-bottom: 0;
	font-family: Poppins, sans-serif;
	font-size: 28px;
	font-weight: 600;
	line-height: 1.35;
	color: #050b4f;
}

/* Read More button: the same two classes the home page feature rows use
   ("pai-btn-arrow pai-feature-btn"), set in the Divi Button module's CSS Class field.
   pai-feature-btn gives the navy pill (see .pai-feature-btn above); pai-btn-arrow makes
   pai-header.js append the arrow automatically. The rules below only neutralise Divi's
   own button defaults so that shared look wins; add "pai-btn-arrow-dark" for the navy arrow
   on light buttons. */
.et_pb_button.pai-feature-btn,
.et_pb_button.pai-feature-btn:hover {
	display: inline-flex !important;
	align-items: center;
	height: 56px;
	padding: 12px 62px 12px 32px !important;
	border: 1px solid #050b4f !important;
	border-radius: 30px !important;
	background: #050b4f !important;
	color: #ffffff !important;
	font-size: 16px !important;
	font-weight: 500 !important;
	line-height: 1.4 !important;
}

.et_pb_button.pai-feature-btn:hover {
	background: #28a7de !important;
	border-color: #28a7de !important;
}

.et_pb_button.pai-feature-btn::before,
.et_pb_button.pai-feature-btn::after {
	display: none !important;
	content: none !important;
}

@media (max-width: 767px) {
	.et_pb_button.pai-feature-btn,
	.et_pb_button.pai-feature-btn:hover {
		padding: 12px 62px 12px 20px !important;
		font-size: 14px !important;
	}
}

.pai-products .et_pb_button_module_wrapper {
	margin-bottom: 0 !important;
}


/* Right: body copy, 18px / 1.8 / #313131 like the rest of the page. */
.pai-products .pai-prod > .et_pb_column:last-child {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 40px;
	align-items: start;
}

.pai-products .pai-prod > .et_pb_column:last-child > * {
	margin-bottom: 0 !important;
}

.pai-products .pai-prod-text,
.pai-products .pai-prod-lead {
	grid-column: 1 / -1;
}

.pai-products .pai-prod > .et_pb_column:last-child > .pai-prod-text {
	margin-bottom: 20px !important;
}

.pai-products .pai-prod > .et_pb_column:last-child > .pai-prod-text:last-child {
	margin-bottom: 0 !important;
}

.pai-products .pai-prod-text .et_pb_text_inner p,
.pai-products .pai-prod-lead .et_pb_text_inner p {
	padding-bottom: 0;
}

.pai-products .pai-prod-lead {
	margin-top: 8px !important;
	padding-bottom: 20px;
	border-bottom: 1px solid #eef0f5;
}

/* Icon rows. */
.pai-products .pai-prod-item.et_pb_blurb {
	margin: 0 !important;
	padding: 22px 0;
	border-bottom: 1px solid #eef0f5;
}

.pai-products .pai-prod-item:nth-last-child(-n + 2) {
	border-bottom: 0;
}

.pai-products .pai-prod-item .et_pb_blurb_content {
	display: flex;
	align-items: center;
	gap: 20px;
	max-width: none;
	text-align: left;
}

.pai-products .pai-prod-item .et_pb_main_blurb_image {
	flex: 0 0 auto;
	margin: 0 !important;
}

.pai-products .pai-prod-item .et_pb_blurb_container {
	flex: 1 1 auto;
	padding: 0 !important;
}

.pai-products .pai-prod-item .et_pb_main_blurb_image .et-pb-icon {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 52px !important;
	height: 52px !important;
	margin: 0 !important;
	padding: 0 !important;
	border-radius: 50%;
	background: #EAF6FE;
	color: #28A7DE !important;
	font-size: 19px !important;
	line-height: 1 !important;
	transition: background-color 0.3s ease, color 0.3s ease;
}

.pai-products .pai-prod-item:hover .et_pb_main_blurb_image .et-pb-icon {
	background: #28A7DE;
	color: #ffffff !important;
}

.pai-products .pai-prod-item .et_pb_module_header {
	margin: 0;
	padding-bottom: 0;
	font-family: Poppins, sans-serif;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.4;
	color: #050b4f;
	transition: color 0.2s ease;
}

.pai-products .pai-prod-item:hover .et_pb_module_header {
	color: #28A7DE;
}

@media (max-width: 1100px) {
	.pai-products .pai-prod.et_pb_row {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
		padding: 48px 40px !important;
	}
}

@media (max-width: 700px) {
	.pai-products .pai-prod.et_pb_row {
		gap: 24px;
		padding: 36px 24px !important;
	}

	.pai-products .pai-prod-title h2 {
		font-size: 24px;
	}

	.pai-products .pai-prod > .et_pb_column:last-child {
		grid-template-columns: minmax(0, 1fr);
	}

	.pai-products .pai-prod-item:nth-last-child(2) {
		border-bottom: 1px solid #eef0f5;
	}

	.pai-products .pai-prod-text .et_pb_text_inner,
	.pai-products .pai-prod-lead .et_pb_text_inner {
		font-size: 16px;
		line-height: 1.7;
	}

	.pai-products .pai-prod-item.et_pb_blurb {
		padding: 18px 0;
	}

	.pai-products .pai-prod-item .et_pb_blurb_content {
		gap: 16px;
	}

	.pai-products .pai-prod-item .et_pb_main_blurb_image .et-pb-icon {
		width: 48px !important;
		height: 48px !important;
		font-size: 18px !important;
	}

	.pai-products .pai-prod-item .et_pb_module_header {
		font-size: 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.pai-products .pai-prod-item .et_pb_main_blurb_image .et-pb-icon,
	.pai-products .pai-prod-item .et_pb_module_header {
		transition: none;
	}
}

/* ==========================================================================
   About us: "How we develop pharmacovigilance software" - common home-page
   design: white section, centered light-weight heading, 18px/1.8 #313131 copy,
   then six process steps on a timeline (connector line + dot per step, three
   per row). Native Divi: row .pai-dev-list (one column: title, intro, then six
   blurbs .pai-dev-step = heading + paragraphs, no icon). Edit text in the Builder.
   ========================================================================== */
.pai-dev.et_pb_section {
	background: #ffffff;
}

.pai-dev .pai-dev-list.et_pb_row {
	padding: 0 !important;
}

.pai-dev .pai-dev-list .et_pb_column {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	column-gap: 56px;
	row-gap: 64px;
	align-items: start;
}

.pai-dev .pai-dev-list .et_pb_column > * {
	margin-bottom: 0 !important;
}

/* Centered intro block, same as the home page "Support built for..." section. */
.pai-dev .pai-dev-title,
.pai-dev .pai-dev-intro {
	grid-column: 1 / -1;
}

.pai-dev .pai-dev-title {
	padding-bottom: 28px;
}

.pai-dev .pai-dev-title .et_pb_text_inner {
	text-align: center;
}

.pai-dev .pai-dev-intro .et_pb_text_inner {
	max-width: 1080px;
	margin: 0 auto;
	font-size: 18px;
	line-height: 1.8;
	text-align: center;
	color: #313131;
}

.pai-dev .pai-dev-intro .et_pb_text_inner p {
	padding-bottom: 0;
}

.pai-dev .pai-dev-intro {
	margin-bottom: 8px !important;
}

/* Timeline step: dot on a connector line, then heading and copy. */
.pai-dev .pai-dev-step.et_pb_blurb {
	position: relative;
	padding-top: 44px;
}

.pai-dev .pai-dev-step::before {
	content: '';
	position: absolute;
	top: 6px;
	left: 6px;
	width: calc(100% + 56px);
	height: 2px;
	background: #dbe6f2;
}

/* Third step of each row has nothing to connect to. */
.pai-dev .pai-dev-step:nth-child(5)::before,
.pai-dev .pai-dev-step:nth-child(8)::before {
	width: 0;
}

.pai-dev .pai-dev-step::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: #28A7DE;
	box-shadow: 0 0 0 6px #EAF6FE;
	transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.pai-dev .pai-dev-step:hover::after {
	background: #050b4f;
	box-shadow: 0 0 0 6px #dfe3f3;
}

.pai-dev .pai-dev-step .et_pb_blurb_content {
	max-width: none;
	text-align: left;
}

.pai-dev .pai-dev-step .et_pb_blurb_container {
	padding: 0 !important;
}

.pai-dev .pai-dev-step .et_pb_module_header {
	margin: 0 0 14px;
	padding-bottom: 0;
	font-family: Poppins, sans-serif;
	font-size: 24px;
	font-weight: 600;
	line-height: 1.4;
	color: #050b4f;
}

.pai-dev .pai-dev-step .et_pb_blurb_description {
	font-size: 18px;
	line-height: 1.8;
	color: #313131;
}

.pai-dev .pai-dev-step .et_pb_blurb_description p {
	padding-bottom: 0;
}

.pai-dev .pai-dev-step .et_pb_blurb_description p + p {
	margin-top: 12px;
}

@media (max-width: 1100px) {
	.pai-dev .pai-dev-list .et_pb_column {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 48px;
		row-gap: 56px;
	}

	/* Two per row: steps 3, 5 and 6 (children 5, 7, 8) are the right-hand ends... */
	.pai-dev .pai-dev-step:nth-child(5)::before {
		width: calc(100% + 48px);
	}

	.pai-dev .pai-dev-step::before {
		width: calc(100% + 48px);
	}

	.pai-dev .pai-dev-step:nth-child(4)::before,
	.pai-dev .pai-dev-step:nth-child(6)::before,
	.pai-dev .pai-dev-step:nth-child(8)::before {
		width: 0;
	}
}

@media (max-width: 700px) {
	/* Vertical timeline. */
	.pai-dev .pai-dev-list .et_pb_column {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 0;
	}

	.pai-dev .pai-dev-intro {
		margin-bottom: 36px !important;
	}

	.pai-dev .pai-dev-step.et_pb_blurb {
		padding: 0 0 36px 44px;
	}

	.pai-dev .pai-dev-step::before,
	.pai-dev .pai-dev-step:nth-child(4)::before,
	.pai-dev .pai-dev-step:nth-child(5)::before,
	.pai-dev .pai-dev-step:nth-child(6)::before {
		top: 6px;
		left: 6px;
		width: 2px;
		height: 100%;
	}

	.pai-dev .pai-dev-step:nth-child(8) {
		padding-bottom: 0;
	}

	.pai-dev .pai-dev-step:nth-child(8)::before {
		width: 0;
	}

	.pai-dev .pai-dev-step::after {
		top: 2px;
	}

	.pai-dev .pai-dev-step .et_pb_module_header {
		font-size: 20px;
		margin-bottom: 10px;
	}

	.pai-dev .pai-dev-step .et_pb_blurb_description {
		font-size: 16px;
		line-height: 1.7;
	}
}

@media (prefers-reduced-motion: reduce) {
	.pai-dev .pai-dev-step::after {
		transition: none;
	}
}

/* Desktop: the first row's titles reserve two lines so the three paragraphs start on the
   same line even when one title (e.g. "Build with subject-matter expertise") wraps. */
@media (min-width: 1101px) {
	.pai-dev .pai-dev-step:nth-child(-n + 5) .et_pb_module_header {
		min-height: 2.8em;
	}
}

/* Mobile: breathing room between the intro line and the first timeline step. Specific enough to
   beat the "> * { margin-bottom: 0 }" reset above. */
@media (max-width: 700px) {
	.pai-dev .pai-dev-list .et_pb_column > .pai-dev-intro {
		margin-bottom: 40px !important;
	}
}

/* ==========================================================================
   About us: "Expertise behind p.AI" - common home-page design: #f7f9fc section,
   one white 30px-rounded container (centered light-weight heading, 18px/1.8
   #313131 copy), two side-by-side statements split by a hairline, and a
   soft-blue closing band joined to the bottom. Native Divi rows:
   .pai-eb-head, .pai-eb-points (1/2 + 1/2), .pai-eb-close. Edit text in the Builder.
   ========================================================================== */
.pai-eb.et_pb_section {
	background: #f7f9fc;
}

.pai-eb .pai-eb-head.et_pb_row,
.pai-eb .pai-eb-points.et_pb_row,
.pai-eb .pai-eb-close.et_pb_row {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

.pai-eb .pai-eb-head.et_pb_row {
	padding: 72px 64px 48px !important;
	border-radius: 30px 30px 0 0;
}

.pai-eb .pai-eb-head .et_pb_column > * {
	margin-bottom: 0 !important;
}

.pai-eb .pai-eb-title {
	padding-bottom: 28px;
}

.pai-eb .pai-eb-title .et_pb_text_inner {
	text-align: center;
}

.pai-eb .pai-eb-intro .et_pb_text_inner,
.pai-eb .pai-eb-lead .et_pb_text_inner {
	max-width: 1080px;
	margin: 0 auto;
	font-size: 18px;
	line-height: 1.8;
	text-align: center;
	color: #313131;
}

.pai-eb .pai-eb-intro .et_pb_text_inner p,
.pai-eb .pai-eb-lead .et_pb_text_inner p,
.pai-eb .pai-eb-point .et_pb_text_inner p,
.pai-eb .pai-eb-closing .et_pb_text_inner p {
	padding-bottom: 0;
}

.pai-eb .pai-eb-lead {
	margin-top: 12px !important;
}

/* Two statements side by side, hairline between them. */
.pai-eb .pai-eb-points.et_pb_row {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	padding: 48px 64px 64px !important;
	border-top: 1px solid #eef0f5;
}

/* Divi's clearfix pseudo-elements would otherwise become grid items. */
.pai-eb .pai-eb-points.et_pb_row::before,
.pai-eb .pai-eb-points.et_pb_row::after {
	display: none !important;
	content: none !important;
}

.pai-eb .pai-eb-points > .et_pb_column {
	float: none !important;
	width: auto !important;
	margin: 0 !important;
	padding: 0 56px;
}

.pai-eb .pai-eb-points > .et_pb_column:first-child {
	padding-left: 0;
	border-right: 1px solid #eef0f5;
}

.pai-eb .pai-eb-points > .et_pb_column:last-child {
	padding-right: 0;
}

.pai-eb .pai-eb-point {
	margin-bottom: 0 !important;
}

/* Short accent segment above each statement. */
.pai-eb .pai-eb-point .et_pb_text_inner::before {
	content: '';
	display: block;
	width: 56px;
	height: 3px;
	margin-bottom: 24px;
	border-radius: 3px;
	background: #28A7DE;
}

.pai-eb .pai-eb-point .et_pb_text_inner {
	font-family: Poppins, sans-serif;
	font-size: 24px;
	font-weight: 600;
	line-height: 1.5;
	color: #050b4f;
	/* Never split a word like "pharmacovigilance" across lines; wrap at spaces only. */
	overflow-wrap: normal;
	word-break: normal;
	hyphens: manual;
	text-wrap: wrap;
}

/* Soft-blue closing band. */
.pai-eb .pai-eb-close.et_pb_row {
	padding: 52px 64px !important;
	border-radius: 0 0 30px 30px;
	overflow: hidden;
}

.pai-eb .pai-eb-close .et_pb_text {
	max-width: 1000px;
	margin: 0 auto !important;
}

.pai-eb .pai-eb-closing .et_pb_text_inner {
	font-size: 20px;
	font-weight: 500;
	line-height: 1.7;
	text-align: center;
	color: #050b4f;
}

@media (max-width: 1100px) {
	.pai-eb .pai-eb-head.et_pb_row {
		padding: 56px 40px 40px !important;
	}

	.pai-eb .pai-eb-points.et_pb_row {
		padding: 40px 40px 48px !important;
	}

	.pai-eb .pai-eb-points > .et_pb_column {
		padding: 0 32px;
	}

	.pai-eb .pai-eb-point .et_pb_text_inner {
		font-size: 21px;
	}

	.pai-eb .pai-eb-close.et_pb_row {
		padding: 40px !important;
	}
}

@media (max-width: 767px) {
	.pai-eb .pai-eb-head.et_pb_row {
		padding: 40px 24px 32px !important;
	}

	.pai-eb .pai-eb-intro .et_pb_text_inner,
	.pai-eb .pai-eb-lead .et_pb_text_inner {
		font-size: 16px;
		line-height: 1.7;
	}

	.pai-eb .pai-eb-points.et_pb_row {
		grid-template-columns: minmax(0, 1fr);
		padding: 32px 24px 36px !important;
	}

	.pai-eb .pai-eb-points > .et_pb_column,
	.pai-eb .pai-eb-points > .et_pb_column:first-child,
	.pai-eb .pai-eb-points > .et_pb_column:last-child {
		padding: 0;
		border-right: 0;
	}

	.pai-eb .pai-eb-points > .et_pb_column:first-child {
		padding-bottom: 28px;
		margin-bottom: 28px !important;
		border-bottom: 1px solid #eef0f5;
	}

	/* The Divi Responsive Helper widow fixer glues the last two words of every paragraph with
	   &nbsp;, so "understand pharmacovigilance." cannot wrap; keep the size low enough to fit. */
	.pai-eb .pai-eb-point .et_pb_text_inner {
		font-size: 19px;
	}

	.pai-eb .pai-eb-close.et_pb_row {
		padding: 32px 24px !important;
		border-radius: 0 0 20px 20px;
	}

	.pai-eb .pai-eb-closing .et_pb_text_inner {
		font-size: 17px;
	}
}

@media (max-width: 420px) {
	.pai-eb .pai-eb-point .et_pb_text_inner {
		font-size: 17px;
	}
}


/* ==========================================================================
   About us: "Our view on digital pharmacovigilance" - same common design as
   "Expertise behind p.AI": #f7f9fc rounded container on white, centered
   light-weight heading, one key statement, two side-by-side paragraphs split
   by a hairline, and a soft-blue closing band. Native Divi rows:
   .pai-view-head, .pai-view-statement, .pai-view-points, .pai-view-close.
   ========================================================================== */
.pai-view .et_pb_row {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

.pai-view .pai-view-head.et_pb_row { padding: 0 64px 32px !important; }
.pai-view .pai-view-statement.et_pb_row { padding: 8px 64px 40px !important; }

.pai-view .et_pb_column > * { margin-bottom: 0 !important; }

.pai-view .et_pb_text_inner p { padding-bottom: 0; }

.pai-view .pai-view-lead .et_pb_text_inner {
	max-width: 900px;
	margin: 0 auto;
	font-family: Poppins, sans-serif;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.6;
	text-align: center;
	color: #050b4f;
}

.pai-view .pai-view-lead { padding-bottom: 36px; }

.pai-view .pai-view-title { padding-bottom: 28px; }
.pai-view .pai-view-title .et_pb_text_inner { text-align: center; }

.pai-view .pai-view-text .et_pb_text_inner {
	font-size: 18px;
	line-height: 1.8;
	color: #313131;
	overflow-wrap: normal;
	word-break: normal;
	hyphens: manual;
}

.pai-view .pai-view-head .pai-view-text { margin-top: 12px !important; }
.pai-view .pai-view-head .pai-view-text .et_pb_text_inner {
	max-width: 1080px;
	margin: 0 auto;
	text-align: center;
}

.pai-view .pai-view-key { text-align: center; }
.pai-view .pai-view-key .et_pb_text_inner {
	font-family: Poppins, sans-serif;
	font-size: 28px;
	font-weight: 600;
	line-height: 1.4;
	text-align: center;
	color: #050b4f;
	overflow-wrap: normal;
	word-break: normal;
	hyphens: manual;
}

.pai-view .pai-view-key .et_pb_text_inner::before {
	content: '';
	display: block;
	width: 56px;
	height: 3px;
	margin: 0 auto 24px;
	border-radius: 3px;
	background: #28A7DE;
}

.pai-view .pai-view-points.et_pb_row {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	padding: 40px 64px 56px !important;
	border-top: 1px solid #e3e8f0;
}

.pai-view .pai-view-points.et_pb_row::before,
.pai-view .pai-view-points.et_pb_row::after {
	display: none !important;
	content: none !important;
}

.pai-view .pai-view-points > .et_pb_column {
	float: none !important;
	width: auto !important;
	margin: 0 !important;
	padding: 0 56px;
}

.pai-view .pai-view-points > .et_pb_column:first-child {
	padding-left: 0;
	border-right: 1px solid #e3e8f0;
}

.pai-view .pai-view-points > .et_pb_column:last-child { padding-right: 0; }

.pai-view .pai-view-close.et_pb_row {
	padding: 52px 64px !important;
	margin-top: 40px !important;
	border-radius: 24px;
	overflow: hidden;
}

.pai-view .pai-view-closing .et_pb_text_inner {
	max-width: 1000px;
	margin: 0 auto;
	font-size: 20px;
	font-weight: 500;
	line-height: 1.7;
	text-align: center;
	color: #050b4f;
}

.pai-view .pai-view-closing-main { margin-top: 8px !important; }
.pai-view .pai-view-closing-main .et_pb_text_inner {
	font-family: Poppins, sans-serif;
	font-size: 24px;
	font-weight: 400;
}

@media (max-width: 1100px) {
	.pai-view .pai-view-head.et_pb_row { padding: 0 40px 28px !important; }
	.pai-view .pai-view-statement.et_pb_row { padding: 8px 40px 32px !important; }
	.pai-view .pai-view-points.et_pb_row { padding: 32px 40px 44px !important; }
	.pai-view .pai-view-points > .et_pb_column { padding: 0 32px; }
	.pai-view .pai-view-close.et_pb_row { padding: 40px !important; }
	.pai-view .pai-view-key .et_pb_text_inner { font-size: 24px; }
	.pai-view .pai-view-closing-main .et_pb_text_inner { font-size: 21px; }
}

@media (max-width: 767px) {
	.pai-view .pai-view-head.et_pb_row { padding: 0 24px 24px !important; }
	.pai-view .pai-view-statement.et_pb_row { padding: 4px 24px 28px !important; }
	.pai-view .pai-view-lead .et_pb_text_inner { font-size: 17px; }
	.pai-view .pai-view-text .et_pb_text_inner { font-size: 16px; line-height: 1.7; }
	.pai-view .pai-view-key .et_pb_text_inner { font-size: 21px; }
	.pai-view .pai-view-points.et_pb_row {
		grid-template-columns: minmax(0, 1fr);
		padding: 28px 24px 32px !important;
		row-gap: 20px;
	}
	.pai-view .pai-view-points > .et_pb_column,
	.pai-view .pai-view-points > .et_pb_column:first-child,
	.pai-view .pai-view-points > .et_pb_column:last-child {
		padding: 0;
		border-right: 0;
	}
	.pai-view .pai-view-close.et_pb_row { padding: 32px 24px !important; }
	.pai-view .pai-view-closing .et_pb_text_inner { font-size: 17px; }
	.pai-view .pai-view-closing-main .et_pb_text_inner { font-size: 19px; }
}

/* Products: round the outer corners of the joined white container
   (first row = top corners, last row = bottom corners). */
.pai-products .pai-prod-first.et_pb_row {
	border-radius: 30px 30px 0 0 !important;
}

.pai-products .pai-prod-last.et_pb_row {
	border-radius: 0 0 30px 30px !important;
}

/* ==========================================================================
   About us: closing CTA - same design as the home page CTA (cta-image
   background, centered light-weight title with swoosh, 18px copy). Bold key
   lines in navy; the three buttons sit in one centered, wrapping row.
   ========================================================================== */
.pai-cta .pai-cta-text {
	max-width: 1080px;
	margin: 0 auto 16px !important;
}

.pai-cta .pai-cta-text .et_pb_text_inner p {
	padding-bottom: 0;
}

.pai-cta .pai-cta-key {
	margin-top: 12px !important;
}

.pai-cta .pai-cta-key .et_pb_text_inner {
	font-family: Poppins, sans-serif;
	font-size: 22px;
	font-weight: 600;
	line-height: 1.5;
	color: #050b4f;
}

.pai-cta .pai-cta-text .et_pb_text_inner {
	overflow-wrap: normal;
	word-break: normal;
	hyphens: manual;
}

.pai-cta .et_pb_column {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 16px;
}

.pai-cta .et_pb_column > .et_pb_text {
	flex: 0 0 100%;
}

.pai-cta .et_pb_column > .pai-cta-title {
	margin-bottom: 28px !important;
}

.pai-cta .et_pb_column > .et_pb_button_module_wrapper {
	flex: 0 0 auto;
	margin: 0 !important;
	text-align: center;
}

.pai-cta .et_pb_column > .et_pb_button_module_wrapper {
	margin-top: 12px !important;
}

@media (max-width: 767px) {
	.pai-cta .pai-cta-key .et_pb_text_inner {
		font-size: 18px;
	}

	.pai-cta .et_pb_column > .et_pb_button_module_wrapper {
		flex: 0 0 100%;
	}

	.pai-cta .et_pb_button_module_wrapper .et_pb_button {
		display: inline-flex;
		white-space: normal;
		text-align: left;
	}
}

/* CTA buttons: equal height, primary in accent blue, long labels may wrap. */
.pai-cta .et_pb_button.pai-cta-btn,
.pai-cta .et_pb_button.pai-cta-btn:hover {
	height: auto;
	min-height: 56px;
	white-space: normal;
}

.pai-cta .et_pb_button.pai-cta-primary,
.pai-cta .et_pb_button.pai-cta-primary:hover {
	background: #28a7de !important;
	border-color: #28a7de !important;
}

.pai-cta .et_pb_button.pai-cta-primary:hover {
	background: #050b4f !important;
	border-color: #050b4f !important;
}

@media (max-width: 767px) {
	.pai-cta .et_pb_column > .et_pb_button_module_wrapper {
		max-width: 380px;
		margin-left: auto !important;
		margin-right: auto !important;
	}

	/* .pai-cta .et_pb_button.pai-cta-btn,
	.pai-cta .et_pb_button.pai-cta-btn:hover {
		display: flex !important;
		width: 100%;
		box-sizing: border-box;
	} */
}

/* CTA: text blocks always take a full row (so buttons never sit beside them on
   wide screens); the readable width is limited on the inner text instead. */
.pai-cta .et_pb_column > .pai-cta-text {
	flex: 0 0 100%;
	width: 100%;
	max-width: none;
	margin: 0 !important;
}

.pai-cta .pai-cta-text .et_pb_text_inner {
	max-width: 1080px;
	margin: 0 auto;
}

.pai-cta .et_pb_column > .pai-cta-text + .pai-cta-text {
	margin-top: 16px !important;
}

/* CTA refinement: tighter vertical rhythm, content grouped as
   intro (2 lines) / key line + sentence / tagline / buttons. */
.pai-cta .et_pb_column {
	row-gap: 0;
	column-gap: 16px;
}

.pai-cta .et_pb_column > .pai-cta-title {
	margin-bottom: 24px !important;
}

.pai-cta .et_pb_column > .pai-cta-text,
.pai-cta .et_pb_column > .pai-cta-text + .pai-cta-text {
	margin: 0 0 6px !important;
}

.pai-cta .pai-cta-text .et_pb_text_inner {
	font-size: 18px;
	line-height: 1.7;
}

/* "Show us the process." starts the second group. */
.pai-cta .et_pb_column > .pai-cta-key {
	margin: 28px 0 0 !important;
}

.pai-cta .et_pb_column > .pai-cta-key + .pai-cta-text {
	margin-top: 4px !important;
}

.pai-cta .pai-cta-key .et_pb_text_inner {
	font-size: 24px;
	line-height: 1.4;
}

/* Tagline: short accent segment above, then the line. */
.pai-cta .et_pb_column > .pai-cta-key:nth-of-type(6) {
	margin-top: 32px !important;
}

.pai-cta .pai-cta-key:nth-of-type(6) .et_pb_text_inner {
	font-size: 22px;
}

.pai-cta .pai-cta-key:nth-of-type(6) .et_pb_text_inner::before {
	content: '';
	display: block;
	width: 56px;
	height: 3px;
	margin: 0 auto 18px;
	border-radius: 3px;
	background: #28A7DE;
}

.pai-cta .et_pb_column > .et_pb_button_module_wrapper {
	margin-top: 36px !important;
	margin-bottom: 0 !important;
}

.pai-cta .et_pb_column > .et_pb_button_module_wrapper ~ .et_pb_button_module_wrapper {
	margin-top: 36px !important;
}

@media (max-width: 767px) {
	.pai-cta .pai-cta-key .et_pb_text_inner {
		font-size: 20px;
	}

	.pai-cta .pai-cta-key:nth-of-type(6) .et_pb_text_inner {
		font-size: 18px;
	}

	.pai-cta .et_pb_column > .pai-cta-key {
		margin-top: 22px !important;
	}

	.pai-cta .et_pb_column > .et_pb_button_module_wrapper,
	.pai-cta .et_pb_column > .et_pb_button_module_wrapper ~ .et_pb_button_module_wrapper {
		margin-top: 12px !important;
	}

	.pai-cta .et_pb_column > .pai-cta-key:nth-of-type(6) + .et_pb_button_module_wrapper {
		margin-top: 28px !important;
	}
}

.pai-cta .et_pb_column > .pai-cta-text,
.pai-cta .et_pb_column > .pai-cta-text + .pai-cta-text {
	margin-bottom: 12px !important;
}

.pai-cta .et_pb_column > .pai-cta-key.pai-cta-text {
	margin: 36px 0 4px !important;
}

.pai-cta .et_pb_column > .pai-cta-key.pai-cta-text:nth-of-type(6) {
	margin-top: 40px !important;
}

/* ==========================================================================
   Products archive (/products/): About-style hero, then a 2-column grid of
   borderless product cards - rounded image on top, title + excerpt below,
   accent overlay with a round arrow on hover (arrow link always visible for
   touch). Template: archive-service.php.
   ========================================================================== */
.pai-prodarch-hero.pi_hero {
	position: relative;
	padding: 120px 20px 56px;
	background: #ffffff;
	overflow: hidden;
}

.pai-prodarch-hero-inner {
	max-width: 1080px;
	margin: 0 auto;
	text-align: center;
}

.pai-prodarch-hero h1 {
	margin: 0 0 40px;
	padding: 0;
	font-size: 48px;
	font-weight: 300;
	line-height: 1.3;
	color: #050b4f;
}

.pai-prodarch-hero p {
	margin: 0;
	padding: 0;
	font-size: 18px;
	line-height: 1.8;
	color: #313131;
}

.pai-prodarch {
	padding: 40px 20px 120px;
	background: #ffffff;
}

.pai-prodarch-inner {
	max-width: 1340px;
	margin: 0 auto;
}

.pai-prodarch-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 64px 40px;
}

.pai-prodarch-card {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 0;
	background: none;
}

.pai-prodarch-media {
	position: relative;
	display: block;
	aspect-ratio: 7 / 5;
	overflow: hidden;
	border-radius: 30px;
	background: #EAF6FE;
}

.pai-prodarch-media .pai-prodarch-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s ease;
}

.pai-prodarch-card:hover .pai-prodarch-image {
	transform: scale(1.04);
}

/* No featured image: soft-blue panel with the product icon. */
.pai-prodarch-placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #EAF6FE;
}

.pai-prodarch-placeholder img {
	width: 96px;
	height: 96px;
	object-fit: contain;
}

.pai-prodarch-placeholder i {
	font-size: 72px;
	color: #28A7DE;
}

/* Hover: accent tint with a round arrow. */
.pai-prodarch-media::before {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(40, 167, 222, .78);
	opacity: 0;
	transition: opacity .3s ease;
}

.pai-prodarch-go {
	position: absolute;
	top: 50%;
	left: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 80px;
	height: 80px;
	border-radius: 50%;
	background: #ffffff;
	color: #050b4f;
	opacity: 0;
	transform: translate(-50%, -50%) scale(.8);
	transition: opacity .3s ease, transform .3s ease;
}

.pai-prodarch-go::before {
	content: '\2192';
	font-size: 30px;
	line-height: 1;
}

.pai-prodarch-card:hover .pai-prodarch-media::before {
	opacity: 1;
}

.pai-prodarch-card:hover .pai-prodarch-go {
	opacity: 1;
	transform: translate(-50%, -50%) scale(1);
}

.pai-prodarch-body {
	padding-top: 28px;
}

.pai-prodarch-title {
	margin: 0;
	padding: 0 0 14px;
	font-family: Poppins, sans-serif;
	font-size: 28px;
	font-weight: 600;
	line-height: 1.3;
}

.pai-prodarch-title a {
	color: #050b4f;
	text-decoration: none;
	transition: color .2s ease;
}

.pai-prodarch-card:hover .pai-prodarch-title a {
	color: #28A7DE;
}

.pai-prodarch-excerpt {
	margin: 0 0 24px;
	padding: 0;
	font-size: 18px;
	line-height: 1.8;
	color: #313131;
}

.pai-prodarch-more {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	height: 56px;
	padding: 0 28px 0 32px;
	border: 1px solid #050b4f;
	border-radius: 30px;
	background: #ffffff;
	color: #050b4f;
	font-size: 16px;
	font-weight: 500;
	text-decoration: none;
	transition: background .3s ease, color .3s ease, border-color .3s ease;
}

.pai-prodarch-card:hover .pai-prodarch-more,
.pai-prodarch-more:hover {
	background: #050b4f;
	color: #ffffff;
}

.pai-prodarch-card:hover .pai-prodarch-more .pai-btn-arrow-icon,
.pai-prodarch-more:hover .pai-btn-arrow-icon {
	filter: brightness(0) invert(1);
}

.pai-prodarch-empty {
	text-align: center;
	font-size: 18px;
	color: #313131;
}

@media (max-width: 1100px) {
	.pai-prodarch-grid {
		gap: 48px 28px;
	}

	.pai-prodarch-title {
		font-size: 24px;
	}
}

@media (max-width: 767px) {
	.pai-prodarch-hero.pi_hero {
		padding: 72px 20px 32px;
	}

	.pai-prodarch-hero h1 {
		margin-bottom: 24px;
		font-size: 36px;
	}

	.pai-prodarch-hero p {
		font-size: 16px;
		line-height: 1.7;
	}

	.pai-prodarch {
		padding: 24px 20px 72px;
	}

	.pai-prodarch-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 30px;
	}

	.pai-prodarch-media {
		border-radius: 24px;
	}

	.pai-prodarch-body {
		padding-top: 22px;
	}

	.pai-prodarch-title {
		font-size: 22px;
	}

	.pai-prodarch-excerpt {
		font-size: 16px;
		line-height: 1.7;
	}

	.pai-prodarch-more {
		height: 52px;
		font-size: 14px;
	}
}

/* Products archive fixes: swoosh stays above the hero background; room for the
   absolutely-positioned arrow icon inside the "Read More" pill. */
.pai-prodarch-hero h1 {
	position: relative;
	isolation: isolate;
}

.pai-prodarch-more {
	padding-right: 62px;
}

@media (max-width: 767px) {
	.pai-prodarch-more {
		padding: 0 56px 0 24px;
	}
}

/* Products archive: no "Read More" button - the whole card (image + title) is the link. */
.pai-prodarch-excerpt {
	margin-bottom: 0;
}

.pai-prodarch-media {
	cursor: pointer;
}

/* Products archive: hover circle uses the site's own arrow icon (same asset as the buttons). */
.pai-prodarch-go::before {
	content: '';
	display: block;
	width: 30px;
	height: 22px;
	background: url('/wp-content/themes/Divi-Child-Theme/assets/images/arrow-right-blue.png') center / contain no-repeat;
}

.pai-prodarch-media::before {
	z-index: 1;
}

.pai-prodarch-go {
	z-index: 2;
}

/* Products archive hover, matched to the reference: tinted image, bright round
   arrow in a light brand tone (#EAF6FE on the accent tint), title color unchanged. */
.pai-prodarch-media::before {
	background: rgba(40, 167, 222, .82);
}

.pai-prodarch-go {
	background: #EAF6FE;
	transform: translate(-50%, -50%) scale(.9);
}

.pai-prodarch-go::before {
	width: 26px;
	height: 18px;
}

.pai-prodarch-card:hover .pai-prodarch-title a {
	color: #050b4f;
}

@media (hover: none) {
	.pai-prodarch-go,
	.pai-prodarch-media::before {
		display: none;
	}
}

/* CTA secondary actions: simple text links (navy, underlined on hover, arrow
   inline) instead of buttons. */
.pai-cta .et_pb_button.pai-cta-link,
.pai-cta .et_pb_button.pai-cta-link:hover {
	display: inline-flex !important;
	align-items: center;
	gap: 10px;
	height: auto;
	min-height: 0;
	padding: 4px 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	color: #050b4f !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	line-height: 1.4 !important;
	text-decoration: none;
}

.pai-cta .et_pb_button.pai-cta-link::before,
.pai-cta .et_pb_button.pai-cta-link::after {
	display: none !important;
	content: none !important;
}

.pai-cta .et_pb_button.pai-cta-link:hover {
	color: #28A7DE !important;
	text-decoration: underline;
	text-underline-offset: 5px;
}

.pai-cta .et_pb_button.pai-cta-link .pai-btn-arrow-icon {
	position: static;
	transform: none;
	height: 14px;
	transition: transform .2s ease;
}

.pai-cta .et_pb_button.pai-cta-link:hover .pai-btn-arrow-icon {
	transform: translateX(4px);
}

@media (max-width: 767px) {
	.pai-cta .et_pb_column > .et_pb_button_module_wrapper:has(.pai-cta-link),
	.pai-cta .et_pb_column > .et_pb_button_module_wrapper:has(.pai-cta-link) ~ .et_pb_button_module_wrapper {
		margin-top: 8px !important;
	}

	.pai-cta .et_pb_button.pai-cta-link,
	.pai-cta .et_pb_button.pai-cta-link:hover {
		display: inline-flex !important;
		width: auto;
		justify-content: center;
		text-align: left;
	}
}

@media (max-width: 767px) {
	.pai-cta .et_pb_button.pai-cta-link,
	.pai-cta .et_pb_button.pai-cta-link:hover {
		font-size: 12px !important;
		white-space: nowrap;
		justify-content: center;
	}

	.pai-cta .et_pb_column > .et_pb_button_module_wrapper:has(.pai-cta-link) {
		display: flex;
		justify-content: center;
		width: 100%;
		margin-left: 0 !important;
		margin-right: 0 !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
		text-align: center;
	}

	.pai-cta .et_pb_button.pai-cta-link {
		margin-left: 0 !important;
		margin-right: 0 !important;
	}
}

/* CTA actions: primary button on its own row, the two text links on a second
   row with a thin divider between them. */
.pai-cta .et_pb_column > .et_pb_button_module_wrapper:has(.pai-cta-primary) {
	flex: 0 0 100%;
	display: flex;
	justify-content: center;
}

.pai-cta .et_pb_column > .et_pb_button_module_wrapper:has(.pai-cta-link) {
	position: relative;
	margin-top: 22px !important;
}

.pai-cta .et_pb_column > .et_pb_button_module_wrapper:has(.pai-cta-link) + .et_pb_button_module_wrapper:has(.pai-cta-link) {
	margin-left: 16px;
}

.pai-cta .et_pb_column > .et_pb_button_module_wrapper:has(.pai-cta-link) + .et_pb_button_module_wrapper:has(.pai-cta-link)::before {
	content: '';
	position: absolute;
	left: -16px;
	top: 50%;
	width: 1px;
	height: 18px;
	background: rgba(5, 11, 79, .3);
	transform: translateY(-50%);
}

@media (max-width: 767px) {
	.pai-cta .et_pb_column > .et_pb_button_module_wrapper:has(.pai-cta-link) {
		flex: 0 0 100%;
		margin-top: 14px !important;
	}

	.pai-cta .et_pb_column > .et_pb_button_module_wrapper:has(.pai-cta-link) + .et_pb_button_module_wrapper:has(.pai-cta-link) {
		margin-left: 0;
		margin-top: 12px !important;
	}

	.pai-cta .et_pb_column > .et_pb_button_module_wrapper:has(.pai-cta-link) + .et_pb_button_module_wrapper:has(.pai-cta-link)::before {
		display: none;
	}
}

@media (min-width: 768px) {
	.pai-cta .et_pb_column > .et_pb_button_module_wrapper:has(.pai-cta-link) + .et_pb_button_module_wrapper:has(.pai-cta-link) {
		margin-left: 48px;
	}

	.pai-cta .et_pb_column > .et_pb_button_module_wrapper:has(.pai-cta-link) + .et_pb_button_module_wrapper:has(.pai-cta-link)::before {
		left: -32px;
	}
}

/* CTA links: plain spacing, no divider (a divider is left dangling when the
   two links wrap onto separate lines). */
.pai-cta .et_pb_column > .et_pb_button_module_wrapper:has(.pai-cta-link) + .et_pb_button_module_wrapper:has(.pai-cta-link),
.pai-cta .et_pb_column > .et_pb_button_module_wrapper:has(.pai-cta-link) + .et_pb_button_module_wrapper:has(.pai-cta-link)::before {
	margin-left: 0 !important;
}

.pai-cta .et_pb_column > .et_pb_button_module_wrapper:has(.pai-cta-link) + .et_pb_button_module_wrapper:has(.pai-cta-link)::before {
	display: none !important;
}

.pai-cta .et_pb_column {
	column-gap: 48px;
}

/* Footer: Divi's per-template CSS cache differs on custom post type pages
   (/products/, single product) and drops the zero content padding that the
   footer address/contact blurbs have everywhere else. Pin it for all pages. */
.et-l--footer .et_pb_blurb .et_pb_blurb_container {
	padding-left: 0 !important;
}

/* Legal pages: numbered section headings (add class "pai-legal-content" to the content Text module) */
.pai-legal-content .et_pb_text_inner { counter-reset: pai-legal; }
.pai-legal-content h2 { counter-increment: pai-legal; display: flex; align-items: center; gap: 14px; margin: 14px 0 14px; padding-top: 30px; border-top: 1px solid #eef0f5; }
.pai-legal-content h2:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.pai-legal-content h2::before { content: counter(pai-legal); flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: #28A7DE; color: #fff; font-size: 15px; font-weight: 600; }
.pai-legal-content p { padding-bottom: 14px; }
.pai-legal-content a { word-break: break-word; }

/* ==========================================================================
   Product pages (single "service" posts): intro, feature cards, checklists, closing band.
   Built from native Divi modules; these classes only add what Divi has no setting for
   (card grid, icon circle, check-mark lists). Classes: pai-pp-cards / pai-pp-card /
   pai-pp-checklist.
   ========================================================================== */
.pai-pp-cards .et_pb_column {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: stretch;
	gap: 30px;
}

.pai-pp-cards .et_pb_column > * {
	margin-bottom: 0 !important;
}

.pai-pp-cards .pai-pp-title {
	flex: 0 0 100%;
}

.pai-pp-cards .pai-pp-card.et_pb_blurb {
	flex: 0 0 calc((100% - 60px) / 3);
	box-sizing: border-box;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pai-pp-cards .pai-pp-card.et_pb_blurb:hover {
	transform: translateY(-4px);
}

.pai-pp-card .et_pb_main_blurb_image {
	margin-bottom: 20px !important;
}

.pai-pp-card .et_pb_main_blurb_image .et-pb-icon {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 56px !important;
	height: 56px !important;
	margin: 0 !important;
	padding: 0 !important;
	border-radius: 50%;
	background: #EAF6FE;
	color: #28A7DE !important;
	font-size: 22px !important;
	line-height: 1 !important;
	transition: background-color 0.3s ease, color 0.3s ease;
}

.pai-pp-card:hover .et_pb_main_blurb_image .et-pb-icon {
	background: #28A7DE;
	color: #ffffff !important;
}

.pai-pp-card .et_pb_module_header {
	padding-bottom: 10px;
}

.pai-pp-card .et_pb_blurb_description p {
	padding-bottom: 12px;
}

.pai-pp-card .et_pb_blurb_description p:last-child {
	padding-bottom: 0;
}

/* Check-mark lists (section checklists and lists inside cards). */
.pai-pp-checklist .et_pb_text_inner ul,
.pai-pp-card .et_pb_blurb_description ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.pai-pp-checklist .et_pb_text_inner ul {
	columns: 2;
	column-gap: 48px;
}

.pai-pp-checklist .et_pb_text_inner li,
.pai-pp-card .et_pb_blurb_description li {
	position: relative;
	break-inside: avoid;
	padding: 0 0 14px 34px;
}

.pai-pp-checklist .et_pb_text_inner li::before,
.pai-pp-card .et_pb_blurb_description li::before {
	content: "\f058";
	position: absolute;
	left: 0;
	top: 2px;
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	font-size: 18px;
	line-height: 1.4;
	color: #28A7DE;
}

.pai-pp-card .et_pb_blurb_description ul {
	margin-top: 6px;
}

.pai-pp-card .et_pb_blurb_description li {
	padding-bottom: 8px;
	font-size: 15px;
}

.pai-pp-intro .et_pb_button_module_wrapper,
.pai-pp-list .et_pb_button_module_wrapper,
.pai_cta-bottom .et_pb_button_module_wrapper {
	margin-top: 10px;
}

.pai_cta-bottom .et_pb_button_module_wrapper {
	display: inline-block;
	margin: 10px 8px 0;
}

.pai_cta-bottom .et_pb_column {
	text-align: center;
}

@media (max-width: 1100px) {
	.pai-pp-cards .pai-pp-card.et_pb_blurb {
		flex-basis: calc((100% - 30px) / 2);
	}
}

@media (max-width: 767px) {
	.pai-pp-cards .pai-pp-card.et_pb_blurb {
		flex-basis: 100%;
	}

	.pai-pp-checklist .et_pb_text_inner ul {
		columns: 1;
	}
}

/* --- Product pages: layout/visual styling (Divi does not output module CSS for the product
   post type, so the structure is native Divi and the look lives here). --- */
.pai-service-single:has(.pai-pp-intro) {
	padding: 0;
}

.pai-pp-intro.et_pb_section,
.pai-pp-features.et_pb_section,
.pai-pp-list.et_pb_section,
.pai_cta-bottom.et_pb_section {
	padding: 80px 20px;
	background: #ffffff;
}

.pai-pp-features.et_pb_section,
.pai-pp-list.pai-pp-grey.et_pb_section {
	background: #f7f9fc;
}

.pai-pp-intro .et_pb_row,
.pai-pp-features .et_pb_row,
.pai-pp-list .et_pb_row,
.pai_cta-bottom .et_pb_row {
	width: 100%;
	margin: 0 auto;
	padding: 0;
}

.pai-pp-intro .et_pb_row { max-width: 900px; }
.pai-pp-list .et_pb_row { max-width: 1100px; }
.pai-pp-features .et_pb_row,
.pai_cta-bottom .et_pb_row { max-width: 1200px; }

.pai-pp-title .et_pb_text_inner {
	text-align: center;
}

.pai-pp-title h2 {
	padding-bottom: 0;
	margin-bottom: 30px;
	font-family: Poppins, sans-serif;
	font-size: 40px;
	font-weight: 300;
	line-height: 1.3;
	text-align: center;
	color: #050b4f;
}

.pai-pp-text .et_pb_text_inner {
	font-size: 18px;
	line-height: 1.8;
	text-align: center;
	color: #313131;
}

.pai-pp-text .et_pb_text_inner p {
	padding-bottom: 0;
}

.pai-pp-text {
	margin-bottom: 18px !important;
}
.pai-pp-text a {
	color: #28A7DE;
}

.pai-pp-intro .et_pb_button_module_wrapper,
.pai-pp-list .et_pb_button_module_wrapper,
.pai_cta-bottom .et_pb_button_module_wrapper {
	text-align: center;
}

.pai-pp-checklist {
	margin-top: 14px;
}

.pai-pp-checklist .et_pb_text_inner {
	font-size: 17px;
	line-height: 1.7;
	color: #313131;
}

.pai-pp-card.et_pb_blurb {
	padding: 32px;
	background: #ffffff;
	border-radius: 24px;
	box-shadow: 0 10px 30px rgba(5, 11, 79, 0.08);
	/* Text alignment is NOT forced here: it comes from the blurb's Text Orientation
	   setting in the Divi Builder (Design > Text > Text Orientation, per device). */
}

.pai-pp-card .et_pb_blurb_content {
	max-width: none;
}

.pai-pp-card .et_pb_module_header {
	font-family: Poppins, sans-serif;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.4;
	color: #050b4f;
}

.pai-pp-card .et_pb_blurb_description {
	font-size: 16px;
	line-height: 1.7;
	color: #313131;
}

.pai_cta-bottom .et_pb_row {
	padding: 52px 64px;
	background: #EAF6FE;
	border-radius: 30px;
}

@media (max-width: 980px) {
	.pai-pp-intro.et_pb_section,
	.pai-pp-features.et_pb_section,
	.pai-pp-list.et_pb_section,
	.pai_cta-bottom.et_pb_section { padding: 60px 20px; }

	.pai-pp-title h2 { font-size: 32px; }
	.pai_cta-bottom .et_pb_row { padding: 40px; }
}

@media (max-width: 767px) {
	.pai-pp-intro.et_pb_section,
	.pai-pp-features.et_pb_section,
	.pai-pp-list.et_pb_section,
	.pai_cta-bottom.et_pb_section { padding: 40px 20px; }

	.pai-pp-title h2 { font-size: 26px; }
	.pai-pp-text .et_pb_text_inner { font-size: 16px; }
	.pai-pp-card.et_pb_blurb { padding: 24px 22px; }
	.pai_cta-bottom .et_pb_row { padding: 32px 24px; }
}

/* --- Product pages: visual polish --- */
/* Card icons: Divi's icon-font CSS is not output on this post type, so set the font here. */
.pai-pp-card .et_pb_main_blurb_image .et-pb-icon {
	font-family: "Font Awesome 6 Free" !important;
	font-weight: 900 !important;
	width: 60px !important;
	height: 60px !important;
	font-size: 24px !important;
	box-shadow: 0 6px 16px rgba(40, 167, 222, 0.18);
}

.pai-pp-card.et_pb_blurb {
	border: 1px solid #e8ecf3;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.pai-pp-card.et_pb_blurb:hover {
	border-color: #28A7DE;
	box-shadow: 0 18px 40px rgba(5, 11, 79, 0.12);
}

.pai-pp-cards .et_pb_column {
	gap: 32px;
}

.pai-pp-cards .pai-pp-card.et_pb_blurb {
	flex-basis: calc((100% - 64px) / 3);
}

.pai-pp-title h2 {
	margin-bottom: 36px;
}

/* Checklists sit in a soft rounded panel. */
.pai-pp-checklist .et_pb_text_inner {
	padding: 40px 48px 26px;
	border: 1px solid #e8ecf3;
	border-radius: 24px;
	background: #f7f9fc;
}

.pai-pp-grey .pai-pp-checklist .et_pb_text_inner {
	background: #ffffff;
	box-shadow: 0 10px 30px rgba(5, 11, 79, 0.06);
}

.pai-pp-checklist .et_pb_text_inner li::before {
	top: 3px;
}

/* Closing band: navy with white text and a blue button. */
/* The two decorative circles are drawn as background layers (not ::before/::after
   absolute elements, which broke the Visual Builder layout on hover). */
.pai_cta-bottom .et_pb_row {
	background:
		radial-gradient(circle 160px at calc(100% - 80px) 80px, rgba(40, 167, 222, 0.25) 99%, transparent 100%),
		radial-gradient(circle 140px at 80px 100%, rgba(255, 255, 255, 0.06) 99%, transparent 100%),
		linear-gradient(135deg, #050b4f 0%, #0b2a78 100%);
}

.pai_cta-bottom .pai-pp-title h2,
.pai_cta-bottom .pai-pp-text .et_pb_text_inner {
	color: #ffffff;
}

.pai_cta-bottom .et_pb_button.pai-feature-btn,
.pai_cta-bottom .et_pb_button.pai-feature-btn:hover {
	background: #28A7DE !important;
	border-color: #28A7DE !important;
	color: #ffffff !important;
}

.pai_cta-bottom .et_pb_button.pai-feature-btn:hover {
	background: #ffffff !important;
	border-color: #ffffff !important;
	color: #050b4f !important;
}

/* The button turns white on hover, so the white arrow image disappears: darken it
   (and nudge it right) to match the navy hover text. */
.pai_cta-bottom .et_pb_button.pai-feature-btn .pai-btn-arrow-icon {
	transition: transform 0.25s ease, filter 0.25s ease;
}

.pai_cta-bottom .et_pb_button.pai-feature-btn:hover .pai-btn-arrow-icon {
	filter: brightness(0);
	transform: translateY(-50%) translateX(3px);
}

@media (max-width: 1100px) {
	.pai-pp-cards .pai-pp-card.et_pb_blurb {
		flex-basis: calc((100% - 32px) / 2);
	}
}

@media (max-width: 767px) {
	.pai-pp-cards .pai-pp-card.et_pb_blurb {
		flex-basis: 100%;
	}

	.pai-pp-checklist .et_pb_text_inner {
		padding: 26px 22px 14px;
		border-radius: 18px;
	}
}

.pai-pp-card .et_pb_blurb_description,
.pai-pp-card .et_pb_blurb_description p {
	font-size: 16px !important;
	line-height: 1.7 !important;
}

/* --- Product pages: modern pass --- */
/* No blog-style meta (date / author / read time) on product pages. */
.single-service .pai-blog-meta {
	display: none;
}

.pai-pp-intro .et_pb_row {
	position: relative;
	z-index: 1;
}

.pai-pp-intro .pai-pp-title h2 {
	font-size: 46px;
	font-weight: 600;
	letter-spacing: -0.01em;
}

/* Feature cards: gradient icon tile, accent line on hover. */
.pai-pp-card.et_pb_blurb {
	position: relative;
	overflow: hidden;
	border: 1px solid #e8ecf3;
}

.pai-pp-card.et_pb_blurb::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, #28A7DE, #050b4f);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.35s ease;
}

.pai-pp-card.et_pb_blurb:hover::before {
	transform: scaleX(1);
}

.pai-pp-card .et_pb_main_blurb_image .et-pb-icon {
	width: 64px !important;
	height: 64px !important;
	border-radius: 18px !important;
	background: linear-gradient(135deg, #28A7DE 0%, #1b7fb0 100%) !important;
	color: #ffffff !important;
	font-size: 26px !important;
	box-shadow: 0 10px 22px rgba(40, 167, 222, 0.32);
}

.pai-pp-card:hover .et_pb_main_blurb_image .et-pb-icon {
	background: linear-gradient(135deg, #050b4f 0%, #0b2a78 100%) !important;
	color: #ffffff !important;
}

.pai-pp-card .et_pb_module_header {
	font-size: 21px;
}

/* Checklists: individual chips instead of one big panel. */
.pai-pp-checklist .et_pb_text_inner {
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.pai-pp-grey .pai-pp-checklist .et_pb_text_inner {
	background: transparent;
	box-shadow: none;
}

.pai-pp-checklist .et_pb_text_inner ul {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	columns: auto;
}

.pai-pp-checklist .et_pb_text_inner li {
	padding: 18px 22px 18px 58px;
	border: 1px solid #e8ecf3;
	border-radius: 16px;
	background: #f7f9fc;
	font-size: 16px;
	line-height: 1.6;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.pai-pp-grey .pai-pp-checklist .et_pb_text_inner li {
	background: #ffffff;
}

.pai-pp-checklist .et_pb_text_inner li:hover {
	transform: translateY(-2px);
	border-color: #28A7DE;
	box-shadow: 0 10px 24px rgba(5, 11, 79, 0.08);
}

.pai-pp-checklist .et_pb_text_inner li::before {
	left: 22px;
	top: 19px;
}

/* Closing band: gradient with soft decorative circles. */
.pai_cta-bottom .et_pb_row {
	position: relative;
	overflow: hidden;
}

.pai_cta-bottom .et_pb_column {
	position: relative;
	z-index: 1;
}

@media (max-width: 767px) {
	.pai-pp-intro .pai-pp-title h2 { font-size: 30px; }

	.pai-pp-checklist .et_pb_text_inner ul {
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
	}

	.pai-pp-checklist .et_pb_text_inner li {
		padding: 16px 18px 16px 52px;
	}

	.pai-pp-checklist .et_pb_text_inner li::before {
		left: 18px;
		top: 17px;
	}
}

/* Share row inside the product page title banner. */
.pai-service-share {
	justify-content: center;
	margin: 22px 0 0;
	padding-top: 0;
	border-top: 0;
}

/* Product page hero: identical to the About us / Products archive hero (white, shape top-right,
   light heading). The .pi_hero:after shape comes from the rule above. */
.pai-service-hero-banner.pi_hero {
	position: relative;
	overflow: hidden;
	padding: 120px 20px 20px;
}

.pai-service-hero-banner .pai-page-banner-title {
	margin: 0 0 24px;
	font-size: 55px;
	font-weight: 300;
	line-height: 1.3;
	color: #050B4F;
}

.pai-service-hero-banner .pai-page-banner-title strong {
	font-weight: 700;
}

.pai-pp-intro.et_pb_section {
	padding-top: 40px;
	background: #ffffff;
}

.pai-pp-intro .pai-pp-title h2 {
	font-size: 36px;
	font-weight: 600;
}

@media (max-width: 980px) {
	.pai-service-hero-banner.pi_hero { padding: 80px 20px 10px; }
	.pai-service-hero-banner .pai-page-banner-title { font-size: 40px; }
}

@media (max-width: 767px) {
	.pai-service-hero-banner.pi_hero { padding: 60px 20px 10px; }
	.pai-service-hero-banner .pai-page-banner-title { font-size: 28px; }
	.pai-pp-intro .pai-pp-title h2 { font-size: 26px; }
}

/* Closing CTA band - kicker, heading, ghost button, trust line */
.pai_cta-bottom .pai-pp-kicker p {
	display: inline-block;
	margin: 0 0 14px;
	padding: 6px 16px;
	border-radius: 30px;
	background: rgba(40, 167, 222, 0.2);
	color: #8fd6f5;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 1.5px;
	text-transform: uppercase;
}
.pai_cta-bottom .pai-pp-title h2 { margin-bottom: 12px; }
.pai_cta-bottom .pai-pp-text .et_pb_text_inner { color: #d7e6f5; max-width: 720px; margin: 0 auto; }
.pai_cta-bottom .et_pb_row { padding: 64px 48px; }
.pai_cta-bottom .et_pb_button.pai-btn-ghost,
.pai_cta-bottom .et_pb_button.pai-btn-ghost:hover {
	background: transparent !important;
	border: 2px solid rgba(255, 255, 255, 0.6) !important;
	color: #ffffff !important;
	border-radius: 30px;
}
.pai_cta-bottom .et_pb_button.pai-btn-ghost:hover {
	background: #ffffff !important;
	border-color: #ffffff !important;
	color: #050b4f !important;
}
.pai_cta-bottom .pai-pp-trustline p {
	margin: 28px 0 0;
	padding-top: 22px;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	color: #9fb8d8;
	font-size: 14px;
	letter-spacing: .5px;
}
@media (max-width: 767px) {
	.pai_cta-bottom .et_pb_row { padding: 40px 22px; }
	.pai_cta-bottom .et_pb_button_module_wrapper { display: block; margin: 12px 0 0; }
	.pai_cta-bottom .pai-pp-trustline p { font-size: 13px; }
}

/* Product closing CTA: secondary 'Explore all products' button removed */
.pai_cta-bottom .et_pb_button_module_wrapper:has(> .et_pb_button.pai-btn-ghost) { display: none; }

/* Centered section head (kicker + title) */
.pai-sec-head,
.pai-sec-head .et_pb_text_inner,
.pai-sec-head h2 {
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}
.pai-sec-head { max-width: 100% !important; width: 100% !important; }

/* Contact: "How You Can Reach Us" section - consistent spacing + centered head */
.pai-contact-reach.et_pb_section {
	padding: 90px 20px 100px !important;
	background: #f7f9fc;
}
.pai-contact-reach .pai-contact-head.et_pb_row {
	width: 100%;
	max-width: 1170px;
	padding: 0 0 44px !important;
	margin: 0 auto;
}
.pai-contact-reach .pai-sec-head {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 auto !important;
}
.pai-contact-reach .pai-sec-head .pai-kicker { margin-bottom: 14px; }
.pai-contact-reach .pai-sec-head h2 {
	margin: 0;
	padding: 0;
	font-size: 48px;
	font-weight: 300;
	line-height: 1.3;
}
.pai-contact-reach .pai-sec-head h2 strong { font-weight: 700; }
.pai-contact-reach .pai-contact-cards.et_pb_row {
	width: 100%;
	max-width: 1170px;
	margin: 0 auto;
	padding: 0 !important;
}
@media (max-width: 980px) {
	.pai-contact-reach.et_pb_section { padding: 70px 20px 80px !important; }
	.pai-contact-reach .pai-sec-head h2 { font-size: 36px; }
}
@media (max-width: 767px) {
	.pai-contact-reach.et_pb_section { padding: 50px 20px 60px !important; }
	.pai-contact-reach .pai-contact-head.et_pb_row { padding-bottom: 30px !important; }
	.pai-contact-reach .pai-sec-head h2 { font-size: 26px; }
}

/* Contact: form section sits on plain white */
.pai-contact-formsec.et_pb_section { background: #ffffff !important; }

/* Contact: breathing room under the hero */
.pai-contact-hero.pi_hero.et_pb_section { padding-bottom: 90px !important; }
@media (max-width: 980px) { .pai-contact-hero.pi_hero.et_pb_section { padding-bottom: 70px !important; } }
@media (max-width: 767px) { .pai-contact-hero.pi_hero.et_pb_section { padding-bottom: 50px !important; } }

/* Contact hero: shape under the whole title, first word stays light */
.pai-contact-hero h1 strong.title-badge .pai-light { font-weight: 300; }

/* ==========================================================================
   Blog page (posts page, body.blog): navy hero, featured first post, card grid,
   card-style sidebar - matches the product page look
   ========================================================================== */

body.blog #main-content {
	background: #ffffff;
	padding-bottom: 80px;
}

body.blog #main-content {
	display: flex;
	flex-direction: column;
}

/* Hero: same look as the About page banner (title + breadcrumb, centred) */
body.blog #main-content::before {
	content: "Blog";
	order: -2;
	padding: 70px 30px 14px;
	text-align: center;
	font-family: Poppins, sans-serif;
	font-size: 40px;
	font-weight: 700;
	line-height: 1.2;
	color: #050b4f;
}

body.blog #main-content::after {
	content: "Home  /  Blog";
	order: -1;
	padding: 0 30px 50px;
	text-align: center;
	font-size: 14px;
	font-weight: 600;
	white-space: pre;
	color: #313131;
}
body.blog #main-content .container {
	width: 100%;
	max-width: 1360px;
	padding: 0 20px;
}

body.blog #main-content .container::before { display: none; }

body.blog #content-area {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 36px;
	align-items: start;
}

body.blog #left-area {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px;
	width: 100%;
	float: none;
	padding: 0;
}

body.blog #sidebar {
	width: 100%;
	float: none;
	padding: 28px 26px;
	background: #ffffff;
	border: 1px solid #e8ecf3;
	border-radius: 16px;
	box-shadow: 0 6px 24px rgba(5, 11, 79, 0.06);
	position: sticky;
	top: 120px;
}

body.blog #sidebar .et_pb_widget { width: 100%; float: none; margin: 0; }

body.blog #sidebar h2.wp-block-heading {
	margin: 0 0 14px;
	padding-bottom: 12px;
	border-bottom: 3px solid #28A7DE;
	font-size: 20px;
	font-weight: 700;
	display: inline-block;
}

body.blog #sidebar .wp-block-latest-posts { margin: 0; padding: 0; list-style: none; }

body.blog #sidebar .wp-block-latest-posts li {
	padding: 12px 0;
	border-bottom: 1px solid #e8ecf3;
}

body.blog #sidebar .wp-block-latest-posts li:last-child { border-bottom: 0; }

body.blog #sidebar .wp-block-latest-posts a {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.45;
	color: #050b4f;
	text-decoration: none;
	transition: color 0.2s ease;
}

body.blog #sidebar .wp-block-latest-posts a:hover { color: #28A7DE; }

/* Cards - same look as the Products archive: big rounded image, accent tint + arrow
   on hover, title and excerpt below, author/date line at the bottom */
body.blog #left-area article.et_pb_post {
	position: relative;
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 0;
	background: none;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	overflow: visible;
	font-size: 16px;
	line-height: 1.8;
	color: #313131;
}

body.blog #left-area article .entry-featured-image-url {
	position: relative;
	display: block;
	margin: 0 0 24px;
	aspect-ratio: 7 / 4;
	overflow: hidden;
	border-radius: 30px;
	background: #EAF6FE;
}

body.blog #left-area article .entry-featured-image-url img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

body.blog #left-area article:hover .entry-featured-image-url img { transform: scale(1.04); }

body.blog #left-area article .entry-featured-image-url::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(40, 167, 222, 0.78);
	opacity: 0;
	transition: opacity 0.3s ease;
}

body.blog #left-area article .entry-featured-image-url::after {
	content: "\2192";
	position: absolute;
	top: 50%;
	left: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 68px;
	height: 68px;
	border-radius: 50%;
	background: #ffffff;
	color: #050b4f;
	font-size: 28px;
	line-height: 1;
	opacity: 0;
	transform: translate(-50%, -50%) scale(0.8);
	transition: opacity 0.3s ease, transform 0.3s ease;
}

body.blog #left-area article:hover .entry-featured-image-url::before { opacity: 1; }

body.blog #left-area article:hover .entry-featured-image-url::after {
	opacity: 1;
	transform: translate(-50%, -50%) scale(1);
}

body.blog #left-area article .entry-title {
	margin: 0 0 12px;
	padding: 0;
	font-family: Poppins, sans-serif;
	font-size: 26px;
	font-weight: 600;
	line-height: 1.3;
}

body.blog #left-area article .entry-title a {
	color: #050b4f;
	transition: color 0.2s ease;
}

body.blog #left-area article:hover .entry-title a { color: #28A7DE; }

/* Author + date row, after the excerpt */
body.blog #left-area article .post-meta {
	order: 10;
	margin: 18px 0 0;
	padding: 14px 0 0;
	border-top: 1px solid #e8ecf3;
	font-size: 14px;
	font-weight: 500;
	color: #5b5f7b;
}

body.blog #left-area article .post-meta a,
body.blog #left-area article .post-meta span { color: #5b5f7b; }

body.blog #left-area article .post-meta .author a {
	color: #050b4f;
	font-weight: 600;
	text-decoration: none;
}

body.blog #left-area article .post-meta .author a:hover { color: #28A7DE; }
body.blog .pagination {
	grid-column: 1 / -1;
	padding-top: 10px;
}

@media (max-width: 980px) {
	body.blog #main-content::before { padding: 50px 20px 12px; font-size: 32px; }
	body.blog #content-area { grid-template-columns: 1fr; }
	body.blog #sidebar { position: static; }
}

@media (max-width: 767px) {
	body.blog #main-content::before { padding: 40px 20px 10px; font-size: 28px; }
	body.blog #left-area { grid-template-columns: 1fr; gap: 22px; }
	body.blog #main-content { padding-bottom: 50px; }
}

/* Blog page: no sidebar - cards use the full width, 3 per row */
body.blog #sidebar { display: none; }
body.blog #content-area { grid-template-columns: minmax(0, 1fr); }
body.blog #left-area { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 32px; }

@media (max-width: 980px) {
	body.blog #left-area { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 24px; }
}

@media (max-width: 767px) {
	body.blog #left-area { grid-template-columns: 1fr; }
}

/* Blog page: match the Products archive exactly - 2 columns, wide container,
   28px titles, 18px excerpt, 80px hover arrow */
body.blog #main-content .container { max-width: 1360px; }
body.blog #left-area { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px 40px; }
body.blog #left-area article { font-size: 18px; }
body.blog #left-area article .entry-title { padding-bottom: 2px; font-size: 24px; }
body.blog #left-area article .entry-featured-image-url::after { width: 60px; height: 60px; font-size: 30px; }
body.blog #left-area article .post-meta { font-size: 15px; }

@media (max-width: 767px) {
	body.blog #left-area { grid-template-columns: 1fr; gap: 44px; }
	body.blog #left-area article { font-size: 16px; }
	body.blog #left-area article .entry-title { font-size: 22px; }
}

/* Pin the author/date row to the bottom so it lines up across a row of cards */
body.blog #left-area article .post-meta { margin-top: auto; }
body.blog #left-area article.et_pb_post { gap: 0; }

/* Hover arrow: same glyph rendering as the Products archive */
body.blog #left-area article .entry-featured-image-url::after {
	font-family: Poppins, sans-serif;
	font-weight: 400;
	padding-bottom: 2px;
}

/* Products archive hover = Blog page hover: 78% accent tint, white 80px arrow circle,
   Poppins "→" glyph, and the title turns accent blue. */
.pai-prodarch-media::before {
	background: rgba(40, 167, 222, 0.78);
}
.pai-prodarch-go {
	width: 80px;
	height: 80px;
	background: #ffffff;
	color: #050b4f;
	transform: translate(-50%, -50%) scale(0.8);
}
.pai-prodarch-go::before {
	content: "\2192";
	display: block;
	width: auto;
	height: auto;
	background: none;
	font-family: Poppins, sans-serif;
	font-size: 30px;
	font-weight: 400;
	line-height: 1;
	padding-bottom: 2px;
}
.pai-prodarch-card:hover .pai-prodarch-go {
	transform: translate(-50%, -50%) scale(1);
}
.pai-prodarch-card:hover .pai-prodarch-title a {
	color: #28A7DE;
}

/* Hover arrow: one identical arrow on Products and Blog - the site's own arrow icon
   (same image as the buttons) instead of a font glyph, so it never changes with fonts. */
.pai-prodarch-go::before {
	content: "";
	display: block;
	width: 30px;
	height: 22px;
	padding: 0;
	background: url('/wp-content/themes/Divi-Child-Theme/assets/images/arrow-right-blue.png') center / contain no-repeat;
}
body.blog #left-area article .entry-featured-image-url::after {
	content: "";
	font-size: 0;
	padding: 0;
	background: #ffffff url('/wp-content/themes/Divi-Child-Theme/assets/images/arrow-right-blue.png') center / 30px 22px no-repeat;
}

/* Blog page, mobile: cards in a horizontal swipe carousel */
@media (max-width: 767px) {
	body.blog #left-area {
		display: flex;
		flex-wrap: nowrap;
		gap: 18px;
		overflow-x: auto;
		overflow-y: hidden;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		margin: 0 -20px;
		padding: 0 20px 18px;
		scrollbar-width: none;
	}

	body.blog #left-area::-webkit-scrollbar { display: none; }

	body.blog #left-area article.et_pb_post {
		flex: 0 0 84%;
		scroll-snap-align: start;
	}

	body.blog #left-area .pagination { flex: 0 0 100%; }
}


/* ==========================================================================
   Footer on custom-post-type pages (e.g. /products/ = service archive)
   Divi serves its CPT stylesheet there and the Theme Builder footer's section
   padding / full-width row don't apply, so the footer content sat further in
   than on the Home and Blog pages. Mirror the footer template's own values so
   every page shows the same footer.
   ========================================================================== */
body.post-type-archive .et-l--footer .et_pb_section_0_tb_footer.et_pb_section,
body.single-service .et-l--footer .et_pb_section_0_tb_footer.et_pb_section {
	padding: 38px 48px !important;
}

body.post-type-archive .et-l--footer .et_pb_row.et_pb_row_0_tb_footer,
body.post-type-archive .et-l--footer .et_pb_row.et_pb_row_1_tb_footer,
body.post-type-archive .et-l--footer .et_pb_row.et_pb_row_2_tb_footer,
body.single-service .et-l--footer .et_pb_row.et_pb_row_0_tb_footer,
body.single-service .et-l--footer .et_pb_row.et_pb_row_1_tb_footer,
body.single-service .et-l--footer .et_pb_row.et_pb_row_2_tb_footer {
	width: 100% !important;
	max-width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

/* Footer headings (Address / Contact Us) and blurb icons keep the template sizes. */
body.post-type-archive .et-l--footer .et_pb_text_1_tb_footer h4,
body.post-type-archive .et-l--footer .et_pb_text_2_tb_footer h4,
body.single-service .et-l--footer .et_pb_text_1_tb_footer h4,
body.single-service .et-l--footer .et_pb_text_2_tb_footer h4 {
	font-size: 20px !important;
}

body.post-type-archive .et-l--footer .et_pb_blurb .et-pb-icon,
body.single-service .et-l--footer .et_pb_blurb .et-pb-icon {
	font-size: 20px !important;
}

@media only screen and (max-width: 980px) {
	body.post-type-archive .et-l--footer .et_pb_section_0_tb_footer.et_pb_section,
	body.single-service .et-l--footer .et_pb_section_0_tb_footer.et_pb_section {
		padding: 30px 24px !important;
	}
}

@media only screen and (max-width: 767px) {
	body.post-type-archive .et-l--footer .et_pb_section_0_tb_footer.et_pb_section,
	body.single-service .et-l--footer .et_pb_section_0_tb_footer.et_pb_section {
		padding: 32px 16px !important;
	}
}
/* Products page built in Divi: keep hero and grid centered inside Divi's section/row wrappers. */
.et_pb_section.pai-prodarch-hero.pi_hero,
.et_pb_section.pai-prodarch {
	padding-left: 20px;
	padding-right: 20px;
}
.pai-prodarch-hero .et_pb_row,
.pai-prodarch .et_pb_row {
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	padding: 0;
}
.pai-prodarch-hero .et_pb_row { max-width: 1080px; }
.pai-prodarch .et_pb_row { max-width: 1340px; }
.pai-prodarch-hero .et_pb_text_inner,
.pai-prodarch-hero .pai-prodarch-hero-inner { text-align: center; }
.pai-prodarch-hero .et_pb_text,
.pai-prodarch .et_pb_code { margin-bottom: 0; }
.pai-prodarch .et_pb_code_inner > p { margin: 0; padding: 0; }
.pai-prodarch .pai-prodarch-inner { margin: 0 auto; }

/* Imprint / Privacy policy: narrow, centered reading container. */
/* :not() keeps these rules off the Theme Builder footer (its classes end in _tb_footer). */
body.pai-legal-page .et_pb_section:not([class*="_tb_footer"]) {
	padding-top: 60px;
	padding-bottom: 60px;
}
body.pai-legal-page .et_pb_row:not([class*="_tb_footer"]) {
	width: 100%;
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 20px;
	padding-right: 20px;
	box-sizing: border-box;
}


/* About Us (page-id-50276): "Key areas include:" compact tag cloud on mobile. */
@media (max-width: 767px) {
	body.page-id-50276 .pai-about-keyareas.et_pb_section { padding: 24px 0 !important; }
	body.page-id-50276 .pai-about-keyareas .et_pb_row { width: 92%; padding: 0; }
	body.page-id-50276 .pai-about-keyareas .et_pb_text_2 { margin-bottom: 12px !important; }
	body.page-id-50276 .pai-about-keyareas h4 { font-size: 16px; line-height: 1.3; margin: 0; padding: 0; }
	body.page-id-50276 .pai-about-tag-items .et_pb_text_inner p {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 6px;
		margin: 0;
		padding: 0;
	}
	body.page-id-50276 .pai-about-tag-items span {
		margin: 0;
		padding: 5px 11px;
		font-size: 12px;
		line-height: 1.3;
		font-weight: 600;
	}
}


/* Contact form: visible labels, required marker, privacy notice, larger message field. */
.contact-field label {
    display: block;
    margin: 0 0 12px 4px;
    font-size: 14px;
    font-weight: 600;
    color: #050b4f;
    line-height: 1.3;
}

.contact-form-row br, .contact-email br, .pi-message br {
    display: none;
}

.contact-field label .req {
	color: #d63638;
	margin-left: 2px;
}

.contact-field label .opt {
	font-weight: 400;
	color: #6b7280;
}

.contact-field textarea {
	min-height: 130px;
	resize: none;
}

.contact-privacy {
	margin: 4px 0 18px;
	font-size: 13px;
	line-height: 1.5;
	color: #5b5f7b;
}

.contact-privacy a {
	color: #28A7DE;
	text-decoration: underline;
}

@media (max-width: 767px) {
	.contact-form-row {
		flex-direction: column;
		gap: 0;
	}
	.contact-form-row .contact-field {
		margin-bottom: 15px;
	}
}


/* Compliance page: 2-column card grid (used when a cards row has 4 items). */
@media (min-width: 768px) {
	.pai-pp-cards.pai-pp-cards-2 .pai-pp-card.et_pb_blurb {
		flex-basis: calc((100% - 32px) / 2);
	}
}

/* Product / Compliance pages: spacing between several rows inside one section, and between a
   checklist and the closing text under it. */
.pai-pp-features .et_pb_row + .et_pb_row,
.pai-pp-list .et_pb_row + .et_pb_row {
	margin-top: 40px;
}

.pai-pp-checklist + .pai-pp-text {
	margin-top: 28px;
}

@media (max-width: 767px) {
	.pai-pp-features .et_pb_row + .et_pb_row,
	.pai-pp-list .et_pb_row + .et_pb_row {
		margin-top: 28px;
	}
}

/* Small caption under a call-to-action button (Compliance pages). */
.pai-pp-caption {
	margin-top: 14px;
}
.pai-pp-caption .et_pb_text_inner,
.pai-pp-caption p {
	margin: 0;
	padding: 0;
	font-size: 14px;
	line-height: 1.6;
	color: #5a6472;
	text-align: center;
}
.pai_cta-bottom .pai-pp-caption .et_pb_text_inner,
.pai_cta-bottom .pai-pp-caption p {
	color: #9fb8d8;
}

/* Process flow (e.g. Compliance > "Our framework connects"): numbered steps joined by a line.
   Markup: a Text module with CSS class "pai-flow" containing <ol><li><span class="pai-flow-num">1</span>
   <span class="pai-flow-label">Step</span></li>...</ol>. */
.pai-flow {
	background: #f7f9fc;
	border: 1px solid #e8ecf3;
	border-radius: 28px;
}

.pai-flow ol {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 44px 0;
}

.pai-flow li {
	position: relative;
	margin: 0;
	padding: 0 14px;
	text-align: center;
	list-style: none;
}

/* connecting line to the next step (not after the last step of a row) */
.pai-flow li:not(:nth-child(4n))::after {
	content: "";
	position: absolute;
	top: 28px;
	left: calc(50% + 40px);
	right: calc(-50% + 40px);
	height: 2px;
	background: repeating-linear-gradient(90deg, #28A7DE 0 8px, transparent 8px 14px);
}

.pai-flow .pai-flow-num {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	margin: 0 auto 16px;
	border-radius: 50%;
	background: linear-gradient(135deg, #28A7DE 0%, #1b7fb0 100%);
	color: #ffffff;
	font-family: Poppins, sans-serif;
	font-size: 20px;
	font-weight: 700;
	box-shadow: 0 8px 20px rgba(40, 167, 222, 0.3);
}

/* last step (change control / continuous improvement) stands out in navy */
.pai-flow li:last-child .pai-flow-num {
	background: linear-gradient(135deg, #050b4f 0%, #0b2a78 100%);
	box-shadow: 0 8px 20px rgba(5, 11, 79, 0.3);
}

.pai-flow .pai-flow-label {
	display: block;
	max-width: 190px;
	margin: 0 auto;
	font-family: Poppins, sans-serif;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.45;
	color: #050b4f;
}

@media (max-width: 980px) {
	/* vertical timeline */
	.pai-flow ol {
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
	}

	.pai-flow li,
	.pai-flow li:last-child {
		display: flex;
		align-items: center;
		gap: 18px;
		padding: 0 0 26px;
		text-align: left;
	}

	.pai-flow li:last-child {
		padding-bottom: 0;
	}

	.pai-flow li:not(:nth-child(4n))::after {
		display: none;
	}

	.pai-flow li:not(:last-child)::before {
		content: "";
		position: absolute;
		top: 56px;
		bottom: 0;
		left: 27px;
		width: 2px;
		background: repeating-linear-gradient(180deg, #28A7DE 0 8px, transparent 8px 14px);
	}

	.pai-flow .pai-flow-num {
		flex: 0 0 56px;
		margin: 0;
	}

	.pai-flow .pai-flow-label {
		max-width: none;
		margin: 0;
	}
}

/* Process flow with 6 steps: 3 per row (add class "pai-flow-3" next to "pai-flow"). */
.pai-flow.pai-flow-3 ol {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* The base rule skips every 4th step, so in the 3-per-row variant the connector after
   step 4 must be drawn explicitly. */
.pai-flow.pai-flow-3 li::after {
	content: "";
	position: absolute;
	top: 28px;
	left: calc(50% + 40px);
	right: calc(-50% + 40px);
	height: 2px;
	background: repeating-linear-gradient(90deg, #28A7DE 0 8px, transparent 8px 14px);
	display: block;
}

.pai-flow.pai-flow-3 li:nth-child(3n)::after,
.pai-flow.pai-flow-3 li:last-child::after {
	display: none;
}

@media (max-width: 980px) {
	.pai-flow.pai-flow-3 ol {
		grid-template-columns: minmax(0, 1fr);
	}

	.pai-flow.pai-flow-3 li::after {
		display: none;
	}
}

/* A flow never draws a connector after its last step (flows with 3, 5, 7... steps). */
.pai-flow li:last-child::after {
	display: none !important;
}

/* Comparison table (Compliance > Standards and Frameworks). Markup: a Text module with CSS class
   "pai-table-module" containing <div class="pai-table-wrap"><table class="pai-table">...</table></div>. */
.pai-table-module .pai-table-wrap {
	overflow-x: auto;
	background: #ffffff;
	border: 1px solid #e8ecf3;
	border-radius: 20px;
	box-shadow: 0 10px 30px rgba(5, 11, 79, 0.08);
}

.pai-table-module .pai-table {
	width: 100%;
	min-width: 680px;
	margin: 0;
	border-collapse: collapse;
	border: 0;
	text-align: left;
}

.pai-table-module .pai-table th {
	padding: 16px 22px;
	background: #050b4f;
	color: #ffffff;
	font-family: Poppins, sans-serif;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	text-align: left;
	border: 0;
}

.pai-table-module .pai-table td {
	padding: 16px 22px;
	border: 0;
	border-top: 1px solid #eef0f5;
	font-size: 15px;
	line-height: 1.5;
	color: #313131;
	text-align: left;
	vertical-align: top;
}

.pai-table-module .pai-table tbody tr:nth-child(even) td {
	background: #f7f9fc;
}

.pai-table-module .pai-table td:first-child {
	font-weight: 600;
	color: #050b4f;
	white-space: nowrap;
}

@media (max-width: 767px) {
	.pai-table-module .pai-table th,
	.pai-table-module .pai-table td {
		padding: 12px 16px;
		font-size: 14px;
	}
}

/* Left / right arrows on a table that scrolls sideways (added by pai-header.js). They show only
   when the table is wider than the screen, and only in the direction that has more data. */
.pai-table-scroll {
	position: relative;
}

.pai-table-arrow {
	display: none;
	position: absolute;
	top: 50%;
	z-index: 3;
	width: 30px;
	height: 30px;
	padding: 0;
	margin-top: -15px;
	border: 0;
	border-radius: 50%;
	background: #28A7DE;
	box-shadow: 0 3px 10px rgba(5, 11, 79, 0.22);
	cursor: pointer;
	align-items: center;
	justify-content: center;
	-webkit-tap-highlight-color: transparent;
	transition: background 0.2s ease, transform 0.2s ease;
}

.pai-table-arrow::before {
	content: "";
	width: 7px;
	height: 7px;
	border-top: 2px solid #ffffff;
	border-right: 2px solid #ffffff;
}

.pai-table-arrow--prev {
	left: 6px;
}

.pai-table-arrow--prev::before {
	transform: rotate(-135deg);
	margin-left: 3px;
}

.pai-table-arrow--next {
	right: 6px;
}

.pai-table-arrow--next::before {
	transform: rotate(45deg);
	margin-right: 3px;
}

.pai-table-arrow:hover {
	background: #050b4f;
}

/* both arrows are always shown when the table scrolls sideways; the one with no more data
   in its direction is dimmed and not clickable */
.pai-table-scroll.has-overflow .pai-table-arrow {
	display: flex;
}

.pai-table-scroll .pai-table-arrow.is-hidden,
.pai-table-scroll .pai-table-arrow:disabled {
	background: #c5ced9;
	box-shadow: none;
	opacity: 0.7;
	cursor: default;
	pointer-events: none;
}

/* Long button labels on product / Compliance pages (e.g. "Explore Our Regulatory and Quality
   Framework"): let the text wrap on small screens instead of pushing the page wider. */
@media (max-width: 767px) {
	.pai-service-single .et_pb_button_module_wrapper {
		max-width: 100%;
	}

	.pai-service-single .et_pb_button.pai-feature-btn,
	.pai-service-single .et_pb_button.pai-feature-btn:hover {
		display: inline-flex !important;
		max-width: 100%;
		box-sizing: border-box;
		white-space: normal !important;
		text-align: left;
		line-height: 1.35;
		font-size: 15px;
		padding: 12px 56px 12px 22px !important;
	}
}

/* Any other table on the site (blog posts, Divi text modules, future pages): pai-header.js wraps
   it in a scroll box and adds the same left / right arrows as the Compliance tables. */
.pai-table-holder {
	margin: 24px 0;
}

.pai-table-holder .pai-table-wrap--auto {
	overflow-x: auto;
	border-radius: 14px;
	-webkit-overflow-scrolling: touch;
}

.pai-table-holder .pai-table-wrap--auto table {
	display: table;
	width: 100%;
	max-width: none;
	margin: 0;
	overflow: visible;
}

@media (max-width: 767px) {
	.pai-table-holder .pai-table-wrap--auto table {
		min-width: 560px;
	}
}
