/* Minimal WordPress integration compatibility.
   The `wp-why-logo` circle can hold either the WordPress mark SVG
   (styled by the static stylesheet) or the technology's own logo image. */

.pg-wp .wp-why .wp-why-logo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	filter: drop-shadow(0 20px 30px rgba(33, 117, 155, 0.3));
}

/* Blog article body — make Gutenberg blocks match the static design. */

.pg-article .art-prose .wp-block-table {
	margin: 22px 0 26px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow-x: auto;
	background: var(--surface);
}
.pg-article .art-prose .wp-block-table table {
	width: 100%;
	border-collapse: collapse;
}
.pg-article .art-prose .wp-block-table th,
.pg-article .art-prose .wp-block-table td {
	text-align: left;
	padding: 14px 18px;
	border-bottom: 1px solid var(--line);
	font-size: 0.95rem;
}
.pg-article .art-prose .wp-block-table tr:last-child td {
	border-bottom: none;
}
.pg-article .art-prose .wp-block-table th {
	font-family: var(--font-display);
	font-size: 0.76rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted-2);
	background: rgba(11, 11, 12, 0.03);
}
.pg-article .art-prose .wp-block-table td:last-child {
	text-align: right;
	font-weight: 600;
	color: var(--secondary);
	white-space: nowrap;
}

.pg-article .art-prose blockquote {
	position: relative;
	margin: 34px 0;
	padding: 30px 32px;
	border-radius: var(--radius);
	background: linear-gradient(140deg, rgba(15, 76, 192, 0.06), transparent 55%), var(--surface);
	border: 1px solid var(--line);
	border-left: 4px solid var(--secondary);
}
.pg-article .art-prose blockquote p {
	font-family: var(--font-display);
	font-size: 1.25rem;
	font-weight: 600;
	letter-spacing: -0.01em;
	line-height: 1.5;
	color: var(--ink);
	margin: 0;
}
.pg-article .art-prose blockquote cite {
	display: block;
	margin-top: 12px;
	font-style: normal;
	font-size: 0.85rem;
	color: var(--muted);
}

.pg-article .art-prose ol {
	margin: 18px 0;
	padding-left: 22px;
}
.pg-article .art-prose ol li {
	margin-bottom: 8px;
	color: var(--ink-soft);
	line-height: 1.7;
}
.pg-article .art-prose a {
	color: var(--secondary);
}
.pg-article .art-prose figure {
	margin: 22px 0;
}
.pg-article .art-prose figure img {
	border-radius: var(--radius);
}
.pg-article .art-prose figcaption {
	margin-top: 8px;
	font-size: 0.85rem;
	color: var(--muted);
}
.pg-article .art-prose .wp-block-image img {
	width: 100%;
	height: auto;
}
.pg-article .art-prose > *:first-child {
	margin-top: 0;
}

/* Blog pagination disabled states */
.blog-pagination .pg-prev.is-disabled,
.blog-pagination .pg-next.is-disabled {
	opacity: 0.35;
	pointer-events: none;
}

/* Contact form honeypot field (hidden from humans, filled by bots) */
.azyran-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	opacity: 0;
}

/* Contact form error status (uses the design's status line) */
.pg-contact .ct-form .ct-status.error {
	color: #d64545;
}

/* Services listing — taxonomy blocks with clickable service cards */
.service-block h3 { transition: color 0.3s var(--ease); }
.service-block h3 a { color: inherit; text-decoration: none; }
.service-block h3 a:hover { color: var(--secondary); }
.service-block:hover .sb-num {
	color: var(--secondary);
	background: linear-gradient(140deg, var(--secondary), var(--tertiary));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}
.service-block .sb-item {
	text-decoration: none;
	color: inherit;
}
.service-block .sb-item:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow-sm);
	border-color: var(--line-strong);
}
.service-block .sb-item { position: relative; }
.service-block .sb-item .sb-arrow {
	position: absolute;
	top: 24px;
	right: 24px;
	color: var(--muted-2);
	opacity: 0.55;
	transition: color 0.3s var(--ease), transform 0.3s var(--ease), opacity 0.3s;
}
.service-block .sb-item:hover .sb-arrow {
	color: var(--secondary);
	opacity: 1;
	transform: translate(4px, -4px);
}
.service-block .sb-item strong {
	padding-right: 30px;
}
.ind-card { position: relative; }
.ind-card .ind-arrow {
	position: absolute;
	top: 24px;
	right: 24px;
	color: var(--muted-2);
	opacity: 0.55;
	transition: color 0.3s var(--ease), transform 0.3s var(--ease), opacity 0.3s;
}
.ind-card:hover .ind-arrow {
	color: var(--secondary);
	opacity: 1;
	transform: translate(4px, -4px);
}
.ind-card h3 {
	padding-right: 30px;
}
.og-index {
	display: grid;
}
.og-item {
	display: flex;
	align-items: center;
	gap: 28px;
	padding: 30px 10px;
	border-top: 1px solid var(--line);
	text-decoration: none;
	color: inherit;
	transition: background 0.35s var(--ease), padding 0.35s var(--ease), border-color 0.35s;
}
.og-item:last-child {
	border-bottom: 1px solid var(--line);
}
.og-num {
	font-family: var(--font-display);
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--secondary);
	width: 42px;
	flex-shrink: 0;
}
.og-main {
	flex: 1;
	min-width: 0;
}
.og-main h3 {
	font-family: var(--font-display);
	font-size: 1.45rem;
	font-weight: 600;
	letter-spacing: -0.02em;
	transition: color 0.35s var(--ease), transform 0.35s var(--ease);
}
.og-main p {
	margin-top: 6px;
	font-size: 0.9rem;
	color: var(--muted);
	line-height: 1.6;
	max-width: 58ch;
}
.og-count {
	font-size: 0.78rem;
	font-weight: 700;
	color: var(--ink-soft);
	background: var(--bg);
	border: 1px solid var(--line);
	border-radius: 30px;
	padding: 7px 14px;
	white-space: nowrap;
	transition: border-color 0.35s var(--ease), color 0.35s var(--ease), background 0.35s var(--ease);
}
.og-arrow {
	color: var(--muted-2);
	opacity: 0.55;
	transition: color 0.35s var(--ease), transform 0.35s var(--ease), opacity 0.35s;
}
.og-item:hover {
	background: rgba(15, 76, 192, 0.04);
	border-color: var(--line-strong);
	padding-left: 20px;
	padding-right: 20px;
}
.og-item:hover .og-main h3 {
	color: var(--secondary);
	transform: translateX(8px);
}
.og-item:hover .og-arrow {
	color: var(--secondary);
	opacity: 1;
	transform: translate(4px, -4px);
}
.og-item:hover .og-count {
	border-color: rgba(15, 76, 192, 0.3);
	color: var(--secondary);
}
@media (max-width: 640px) {
	.og-item {
		flex-wrap: wrap;
		gap: 12px 20px;
		padding: 22px 6px;
	}
	.og-main {
		flex-basis: calc(100% - 62px);
	}
	.og-count {
		margin-left: 62px;
	}
}
.promise-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
}
.promise-list li {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 18px 4px;
	border-top: 1px solid var(--line);
	transition: padding 0.3s var(--ease), background 0.3s var(--ease);
}
.promise-list li:last-child {
	border-bottom: 1px solid var(--line);
}
.promise-list li:hover {
	padding-left: 14px;
	background: rgba(229, 72, 77, 0.04);
}
.p-x {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	flex-shrink: 0;
	border-radius: 50%;
	background: rgba(229, 72, 77, 0.12);
	color: #e5484d;
	font-size: 0.85rem;
	font-weight: 700;
	transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.promise-list li:hover .p-x {
	background: #e5484d;
	color: #fff;
	transform: rotate(12deg);
}
.p-text {
	position: relative;
	font-family: var(--font-display);
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--ink);
}
.p-text::after {
	content: "";
	position: absolute;
	left: 0;
	top: 52%;
	height: 2px;
	width: 0;
	background: #e5484d;
	transition: width 0.35s var(--ease);
}
.promise-list li:hover .p-text::after {
	width: 100%;
}
.promise-note {
	margin-top: 26px;
	font-size: 0.86rem;
	color: var(--muted);
}
.promise-note strong {
	color: #e5484d;
}
@media (max-width: 820px) {
	.promise-list li {
		align-items: flex-start;
	}
	.p-x {
		margin-top: 2px;
	}
}

/* Service Group taxonomy page — service card grid */
.service-card-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 18px;
}
.svc-card {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 18px;
	padding: 28px 26px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	text-decoration: none;
	color: inherit;
	transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s;
}
.svc-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-md);
	border-color: var(--line-strong);
}
.svc-card .svc-num {
	font-family: var(--font-display);
	font-size: 2rem;
	font-weight: 700;
	letter-spacing: -0.04em;
	line-height: 1;
	background: linear-gradient(140deg, var(--secondary), var(--tertiary));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	flex-shrink: 0;
}
.svc-card-body h3 {
	font-family: var(--font-display);
	font-size: 1.2rem;
	font-weight: 600;
	letter-spacing: -0.02em;
}
.svc-card-body p {
	margin-top: 8px;
	font-size: 0.92rem;
	color: var(--muted);
	line-height: 1.7;
}
.svc-arrow {
	margin-left: auto;
	color: var(--muted-2);
	flex-shrink: 0;
	transition: color 0.3s, transform 0.3s var(--ease);
}
.svc-card:hover .svc-arrow { color: var(--secondary); transform: translateX(5px); }
@media (max-width: 760px) {
	.service-card-grid { grid-template-columns: 1fr; }
}

/* Numbered pagination for archive listings (Industries/Services/Technologies).
   Mirrors the Insights listing pagination style. */
.blog-pagination {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 40px;
}
.blog-pagination .pg-num,
.blog-pagination .pg-prev,
.blog-pagination .pg-next {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	border-radius: 12px;
	font-family: var(--font-display);
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--ink-soft);
	background: var(--surface);
	border: 1px solid var(--line);
	transition: all 0.3s var(--ease);
}
.blog-pagination .pg-num:hover,
.blog-pagination .pg-prev:hover,
.blog-pagination .pg-next:hover {
	color: var(--secondary);
	border-color: var(--line-strong);
	transform: translateY(-2px);
	box-shadow: var(--shadow-sm);
}
.blog-pagination .pg-num.active {
	color: #fff;
	background: linear-gradient(135deg, var(--secondary), var(--secondary-soft));
	border-color: transparent;
	box-shadow: 0 14px 26px -14px var(--secondary);
}
.blog-pagination .pg-prev svg,
.blog-pagination .pg-next svg { width: 18px; height: 18px; }
.blog-pagination .pg-ellipsis {
	color: var(--muted-2);
	font-family: var(--font-display);
	font-weight: 600;
}
.blog-pagination .pg-prev.is-disabled,
.blog-pagination .pg-next.is-disabled {
	opacity: 0.35;
	pointer-events: none;
}