/**
 * Company profile pages (taxonomy-company template) and the claim popup.
 * Measurements taken from the live Elementor template 33088 at 1440px and 390px.
 */

.sodp-company-page,
.sodp-co-modal {
	--sodp-co-plum: #682d63;
	--sodp-co-ink: #161616;
	--sodp-co-soft: #f5f5f5;
	--sodp-co-inter: Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
	--sodp-co-head: Poppins, sans-serif;
}

.sodp-company-page,
main.wp-block-group.sodp-company-page {
	margin: 0 !important;
	padding: 0 0 40px !important;
	background: #fff;
}

.sodp-company-page > * {
	box-sizing: border-box;
	width: 100%;
	max-width: 1140px !important;
	margin-right: auto !important;
	margin-left: auto !important;
}

.sodp-company-page *,
.sodp-company-page *::before,
.sodp-company-page *::after,
.sodp-co-modal *,
.sodp-co-modal *::before,
.sodp-co-modal *::after {
	box-sizing: border-box;
}

/* A third-party script appends an empty 2px span to page content; keep it
   from adding a blank line. */
.sodp-company-page span:empty[style*="2px"] {
	position: absolute;
}

/* ---------- Profile cards ---------- */
.sodp-company-page > .sodp-co-profile {
	display: grid;
	grid-template-columns: 60% 40%;
	margin-top: 30px !important;
	margin-bottom: 30px !important;
}

.sodp-co-card {
	margin: 10px;
	border: 1px solid var(--sodp-co-plum);
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 0 10px rgba(218, 218, 218, 0.5);
}

.sodp-co-main {
	padding: 20px 30px;
}

.sodp-co-crumb {
	padding: 5px 25px;
	border-radius: 100px;
	background: var(--sodp-co-soft);
	font-family: var(--sodp-co-inter);
	font-size: 13px;
	font-weight: 400;
	line-height: 23.4px;
	color: var(--sodp-co-plum);
}

.sodp-co-crumb a,
.sodp-co-crumb a:visited {
	color: var(--sodp-co-plum);
	text-decoration: underline;
}

.sodp-co-crumb strong {
	font-weight: 700;
	color: var(--sodp-co-ink);
}

.sodp-co-titlerow {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: 20px;
}

.sodp-co-main h1.sodp-co-title {
	margin: 0;
	font-family: var(--sodp-co-head) !important;
	font-size: 32px;
	font-weight: 700;
	line-height: 32px;
	letter-spacing: normal;
	color: var(--sodp-co-ink);
}

.sodp-co-claim {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 6px 24px;
	border: 0;
	border-radius: 50px;
	background: var(--sodp-co-plum);
	font-family: var(--sodp-co-inter);
	font-size: 14px;
	font-weight: 400;
	line-height: 25.2px;
	color: #fff;
	cursor: pointer;
	transition: opacity 0.2s;
}

.sodp-co-claim:hover,
.sodp-co-claim:focus-visible {
	opacity: 0.88;
}

.sodp-co-claim i {
	font-size: 14px;
}

.sodp-co-list {
	display: flex;
	align-items: center;
	margin-top: 30px;
	padding: 15px;
	border-radius: 10px;
	background: var(--sodp-co-soft);
}

.sodp-co-list__badge {
	flex: 0 0 8.3%;
	line-height: 0;
}

.sodp-co-list__badge img {
	max-width: 100%;
	height: auto;
}

.sodp-co-list__text {
	display: flex;
	flex-direction: column;
	padding-left: 10px;
}

.sodp-co-list__label {
	font-family: var(--sodp-co-inter);
	font-size: 14px;
	color: var(--sodp-co-ink);
}

.sodp-co-list__title,
a.sodp-co-list__title:visited {
	font-family: var(--sodp-co-inter);
	font-size: 15px;
	font-weight: 700;
	color: var(--sodp-co-plum);
	text-decoration: underline;
}

.sodp-co-desc {
	margin-top: 20px;
	font-family: var(--sodp-co-inter);
	font-size: 16px;
	line-height: 1.4;
	color: var(--sodp-co-ink);
}

.sodp-co-list + .sodp-co-desc {
	margin-top: 10px;
}

.sodp-co-desc p {
	margin: 0;
	font-size: 16px;
	line-height: 1.4;
	color: var(--sodp-co-ink);
}

.sodp-co-siterow {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: 20px;
}

.sodp-co-visit,
.sodp-co-visit:visited {
	display: inline-flex;
	align-items: center;
	margin-top: 3px;
	font-family: var(--sodp-co-inter);
	font-size: 14px;
	font-weight: 500;
	line-height: 14px;
	color: var(--sodp-co-plum);
	text-decoration: none;
}

.sodp-co-visit span {
	text-decoration: underline;
}

.sodp-co-visit i {
	margin: 2px 5px 0;
	font-size: 14px;
	color: var(--sodp-co-plum);
}

.sodp-co-logo {
	display: inline-block;
	padding: 10px;
	border: 0.5px solid #dbdbdb;
	border-radius: 5px;
	background: #fff;
	line-height: 0;
}

.sodp-co-logo.is-glide {
	background: #1f1c2b;
}

.sodp-co-logo img {
	width: auto;
	max-width: 260px;
	height: 50px;
	object-fit: contain;
}

/* Key facts */
.sodp-co-facts {
	padding: 20px;
}

.sodp-co-fact {
	display: grid;
	grid-template-columns: 59.804% 40.196%;
	font-family: var(--sodp-co-inter);
	font-size: 16px;
	font-weight: 700;
	line-height: 28.8px;
}

.sodp-co-fact > span {
	padding: 10px;
}

.sodp-co-fact__label {
	display: flex;
	align-items: center;
	color: var(--sodp-co-plum);
}

.sodp-co-fact__label img {
	flex: 0 0 35px;
	width: 35px;
	height: 25px;
	padding-right: 10px;
	object-fit: contain;
	object-position: left center;
}

.sodp-co-fact__value {
	color: var(--sodp-co-ink);
}

.sodp-co-fact.is-stacked {
	display: block;
	padding: 10px;
}

.sodp-co-fact.is-stacked > span {
	padding: 0;
}

.sodp-co-fact.is-stacked .sodp-co-fact__value {
	display: block;
	margin-left: 35px;
	font-size: 14px;
	line-height: 25.2px;
}

/* ---------- Sections below ---------- */
.sodp-company-page > .sodp-co-section {
	margin-top: 30px !important;
	margin-bottom: 0 !important;
	padding: 10px;
}

.sodp-company-page > .sodp-co-profile + .sodp-co-section {
	margin-top: 0 !important;
}

.sodp-company-page > .sodp-co-articles {
	margin-top: 40px !important;
}

.sodp-co-section h2.sodp-co-heading {
	margin: 0;
	font-family: var(--sodp-co-head) !important;
	font-size: 28px;
	font-weight: 700;
	line-height: 28px;
	letter-spacing: normal;
	color: var(--sodp-co-ink);
}

.sodp-co-headrow {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin: 10px 0 20px;
}

.sodp-co-solutions__list,
.sodp-co-articles__list {
	margin-top: 20px;
}

.sodp-co-blur {
	display: block;
	width: 100%;
	height: auto;
	filter: blur(4.3px);
}

.sodp-co-blur.is-soft {
	filter: blur(5.4px);
}

.sodp-co-solutions img,
.sodp-co-articles img {
	max-width: 100%;
	height: auto;
}

.sodp-co-articles img {
	object-fit: cover;
}

/* Three columns on desktop; the shortcode's own CSS handles smaller screens. */
@media (min-width: 1025px) {
	.sodp-co-articles .archive-posts .row {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* ---------- Claim popup ---------- */
html.sodp-co-modal-open {
	overflow: hidden;
}

.sodp-co-modal[hidden] {
	display: none !important;
}

.sodp-co-modal {
	position: fixed;
	inset: 0;
	z-index: 99995;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}

.sodp-co-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
}

.sodp-co-modal__close {
	position: fixed;
	top: 50px;
	right: 50px;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 10px;
	border: 0;
	border-radius: 100px;
	background: #fff;
	color: #000;
	cursor: pointer;
}

.sodp-co-modal__close:hover,
.sodp-co-modal__close:focus-visible {
	color: #33ccbb;
}

.sodp-co-modal__box {
	position: relative;
	z-index: 1;
	width: 480px;
	max-width: 100%;
	height: 410px;
	max-height: 100%;
	overflow: auto;
	padding: 10px;
	border-radius: 20px;
	background: var(--sodp-co-soft);
	animation: sodp-co-fade-up 0.5s ease-out both;
}

@keyframes sodp-co-fade-up {
	from {
		opacity: 0.4;
		transform: translate3d(0, 40px, 0);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

.sodp-co-modal__inner {
	margin: 0 10px;
	padding: 20px;
	border-radius: 10px;
	background: var(--sodp-co-soft);
}

.sodp-co-modal .screen-reader-text {
	position: absolute !important;
	overflow: hidden;
	width: 1px;
	height: 1px;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.sodp-co-modal .wpcf7-form > p,
.sodp-co-modal .sodp-cl-step p {
	margin: 0 0 15px;
}

.sodp-cl-steps {
	display: flex;
	align-items: center;
	margin-bottom: 20px;
}

.sodp-cl-ind {
	display: flex;
	flex: 0 0 30px;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border: 1px solid var(--sodp-co-plum);
	border-radius: 50%;
	background: #fff;
	font-family: Roboto, sans-serif;
	font-size: 13px;
	font-weight: 500;
	color: var(--sodp-co-plum);
}

.sodp-cl-ind.is-active {
	border-color: #fff;
	background: var(--sodp-co-plum);
	color: #fff;
}

.sodp-cl-ind.is-done {
	background: #33ccbb;
	color: var(--sodp-co-plum);
}

.sodp-cl-sep {
	flex: 1 1 auto;
	height: 1px;
	margin: 0 10px;
	background: #babfc5;
}

.sodp-cl-step {
	display: none;
}

.sodp-cl-step.is-active {
	display: block;
}

.sodp-co-modal .wpcf7-form-control-wrap {
	display: block;
}

.sodp-co-modal input.wpcf7-form-control:not(.wpcf7-submit),
.sodp-co-modal select.wpcf7-form-control,
.sodp-co-modal textarea.wpcf7-form-control {
	display: block;
	width: 100%;
	height: 40px;
	min-height: 40px;
	margin: 0;
	padding: 5px 14px;
	border: 2px solid var(--sodp-co-plum);
	border-radius: 0;
	background: var(--sodp-co-soft);
	box-shadow: none;
	font-family: Roboto, sans-serif;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
	color: #000;
}

.sodp-co-modal textarea.wpcf7-form-control {
	height: auto;
	resize: vertical;
}

.sodp-co-modal .wpcf7-form-control::placeholder {
	color: #000;
	opacity: 0.6;
}

.sodp-co-modal .wpcf7-form-control:focus {
	outline: 2px solid rgba(104, 45, 99, 0.25);
	outline-offset: 0;
}

.sodp-cl-nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.sodp-cl-nav .wpcf7-spinner {
	margin: 0;
}

.sodp-cl-next,
.sodp-cl-prev,
.sodp-co-modal input.wpcf7-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 40px;
	margin: 0;
	padding: 0 24px;
	border: 1px solid var(--sodp-co-plum);
	border-radius: 50px;
	background: var(--sodp-co-plum);
	font-family: Roboto, sans-serif;
	font-size: 14px;
	font-weight: 500;
	line-height: 14px;
	letter-spacing: 1px;
	color: #fff;
	cursor: pointer;
	transition: background 0.2s, color 0.2s;
}

.sodp-cl-next:hover,
.sodp-cl-prev:hover,
.sodp-co-modal input.wpcf7-submit:hover,
.sodp-cl-next:focus-visible,
.sodp-cl-prev:focus-visible {
	background: #fff;
	color: var(--sodp-co-plum);
}

.sodp-co-modal .wpcf7-not-valid-tip {
	margin-top: 4px;
	font-family: Roboto, sans-serif;
	font-size: 13px;
}

.sodp-co-modal .wpcf7 form .wpcf7-response-output {
	margin: 15px 0 0;
	padding: 8px 12px;
	font-family: Roboto, sans-serif;
	font-size: 14px;
}

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
	.sodp-company-page > .sodp-co-profile {
		margin-top: 0 !important;
		margin-bottom: 0 !important;
	}

	.sodp-co-titlerow {
		flex-direction: column;
		align-items: flex-start;
		gap: 20px;
	}

	.sodp-co-fact {
		grid-template-columns: minmax(0, 1fr);
	}

	.sodp-co-fact.is-stacked .sodp-co-fact__value {
		margin: 10px 0 0;
		font-size: 16px;
		line-height: 28.8px;
	}
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
	.sodp-company-page > .sodp-co-profile {
		grid-template-columns: minmax(0, 1fr);
	}

	.sodp-co-main {
		padding: 15px;
	}

	.sodp-co-facts {
		padding: 10px;
	}

	.sodp-co-list {
		flex-direction: column;
		text-align: center;
	}

	.sodp-co-list__text {
		padding: 10px 0 0;
	}

	.sodp-co-headrow {
		flex-direction: column;
		align-items: flex-start;
		gap: 20px;
		padding-bottom: 20px;
	}

	.sodp-co-modal__close {
		top: 16px;
		right: 16px;
	}
}
