/* Mobilogic theme styles that theme.json cannot express. */

:root {
	--ml-radius-sm: var(--wp--custom--radius--small, 8px);
	--ml-radius: var(--wp--custom--radius--medium, 14px);
	--ml-radius-lg: var(--wp--custom--radius--large, 24px);
	--ml-shadow: var(--wp--preset--shadow--card);
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 6rem;
}

body {
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

:where(.wp-site-blocks) > * {
	margin-block-start: 0;
}

.skip-link:focus {
	z-index: 100000;
}

/* Header */

.ml-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: saturate(160%) blur(8px);
	border-bottom: 1px solid var(--wp--preset--color--line);
}

.admin-bar .ml-header {
	top: var(--wp-admin--admin-bar--height, 32px);
}

.ml-header .wp-block-site-logo img {
	width: auto;
	max-height: 40px;
}

.ml-header .wp-block-navigation .wp-block-navigation-item__content {
	color: var(--wp--preset--color--ink);
	text-decoration: none;
	padding: 0.35rem 0;
}

.ml-header .wp-block-navigation .wp-block-navigation-item__content:hover,
.ml-header .wp-block-navigation .current-menu-item > .wp-block-navigation-item__content {
	color: var(--wp--preset--color--teal-dark);
}

.ml-header .wp-block-navigation__submenu-container {
	border: 1px solid var(--wp--preset--color--line) !important;
	border-radius: var(--ml-radius-sm);
	box-shadow: var(--ml-shadow);
	padding: 0.4rem 0 !important;
	min-width: 230px !important;
}

.ml-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	padding: 0.45rem 1rem !important;
	font-weight: 500;
}

.ml-header .ml-login-link a {
	color: var(--wp--preset--color--slate);
	font-weight: 600;
	font-size: var(--wp--preset--font-size--small);
	text-decoration: none;
}

.ml-header .ml-login-link a:hover {
	color: var(--wp--preset--color--teal-dark);
}

.ml-topbar {
	font-size: var(--wp--preset--font-size--small);
}

.ml-topbar a {
	color: inherit;
	text-decoration: none;
}

.ml-topbar a:hover {
	text-decoration: underline;
}

@media (max-width: 781px) {
	.ml-topbar .ml-topbar__secondary,
	.ml-header .ml-login-link {
		display: none;
	}
}

/* Eyebrow paragraphs */

.is-style-eyebrow {
	color: var(--wp--preset--color--teal-dark);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	margin-bottom: 0.25rem !important;
}

.has-ink-background-color .is-style-eyebrow,
.has-teal-dark-background-color .is-style-eyebrow,
.has-teal-fade-gradient-background .is-style-eyebrow {
	color: var(--wp--preset--color--teal-light);
}

/* Cards */

.is-style-card {
	background: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--ml-radius);
	box-shadow: var(--ml-shadow);
	padding: var(--wp--preset--spacing--40);
	height: 100%;
}

.is-style-card > :first-child {
	margin-top: 0;
}

a.ml-card-link,
.is-style-card.ml-card-link {
	transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.is-style-card:has(a.ml-stretched):hover,
.is-style-card.ml-card-link:hover {
	transform: translateY(-2px);
	box-shadow: var(--wp--preset--shadow--lifted);
	border-color: var(--wp--preset--color--teal-light);
}

.is-style-card:has(a.ml-stretched) {
	position: relative;
}

.is-style-card a.ml-stretched::after,
.ml-post-card .wp-block-post-title a::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
}

.ml-post-card {
	position: relative;
}

.ml-post-card:hover {
	transform: translateY(-2px);
	box-shadow: var(--wp--preset--shadow--lifted);
	border-color: var(--wp--preset--color--teal-light);
}

.ml-post-card .wp-block-post-terms a {
	position: relative;
	z-index: 1;
}

.is-style-card h3,
.is-style-card h4 {
	margin-bottom: 0.4rem;
}

.is-style-card p {
	color: var(--wp--preset--color--slate);
}

.ml-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 12px;
	background: var(--wp--preset--color--mint);
	color: var(--wp--preset--color--teal-dark);
	font-size: 1.35rem;
	line-height: 1;
	margin-bottom: 0.75rem !important;
}

/* Checklist */

.is-style-checklist {
	list-style: none;
	padding-left: 0;
}

.is-style-checklist li {
	position: relative;
	padding-left: 1.9rem;
	margin-bottom: 0.55rem;
}

.is-style-checklist li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.3em;
	width: 1.15rem;
	height: 1.15rem;
	border-radius: 50%;
	background: var(--wp--preset--color--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='none' stroke='%231D6767' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round' d='M5 10.5l3.2 3.2L15 7'/%3E%3C/svg%3E") center / 0.8rem no-repeat;
}

.has-ink-background-color .is-style-checklist li::before,
.has-teal-fade-gradient-background .is-style-checklist li::before {
	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 20 20'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round' d='M5 10.5l3.2 3.2L15 7'/%3E%3C/svg%3E");
}

/* Hero */

.ml-hero {
	overflow: hidden;
}

.ml-hero .wp-block-image img,
.ml-shot img {
	border-radius: var(--ml-radius);
	box-shadow: var(--wp--preset--shadow--lifted);
}

.ml-hero h1 {
	max-width: 18ch;
}

.ml-lede {
	color: var(--wp--preset--color--slate);
	font-size: var(--wp--preset--font-size--large);
	max-width: 60ch;
}

.has-ink-background-color .ml-lede,
.has-teal-fade-gradient-background .ml-lede,
.has-teal-dark-background-color .ml-lede {
	color: rgba(255, 255, 255, 0.85);
}

/* Buttons */

.wp-block-button.is-style-outline > .wp-block-button__link {
	border: 2px solid currentColor;
	background: transparent;
	color: var(--wp--preset--color--teal-dark);
	padding: calc(0.7rem - 2px) calc(1.4rem - 2px);
}

.wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background: var(--wp--preset--color--mint);
	color: var(--wp--preset--color--teal-dark);
}

.has-ink-background-color .wp-block-button.is-style-outline > .wp-block-button__link,
.has-teal-fade-gradient-background .wp-block-button.is-style-outline > .wp-block-button__link,
.has-teal-dark-background-color .wp-block-button.is-style-outline > .wp-block-button__link {
	color: var(--wp--preset--color--base);
}

.has-ink-background-color .wp-block-button.is-style-outline > .wp-block-button__link:hover,
.has-teal-fade-gradient-background .wp-block-button.is-style-outline > .wp-block-button__link:hover,
.has-teal-dark-background-color .wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background: rgba(255, 255, 255, 0.12);
}

.ml-btn-light .wp-block-button__link {
	background: var(--wp--preset--color--base) !important;
	color: var(--wp--preset--color--teal-dark) !important;
}

.ml-btn-light .wp-block-button__link:hover {
	background: var(--wp--preset--color--mint) !important;
}

/* Logo row */

.ml-logo-row figure {
	margin: 0;
}

.ml-logo-row img {
	max-height: 56px;
	width: auto !important;
	object-fit: contain;
}

.is-style-logo-grayscale img {
	filter: grayscale(1);
	opacity: 0.75;
	transition: filter 0.2s ease, opacity 0.2s ease;
}

.is-style-logo-grayscale img:hover {
	filter: none;
	opacity: 1;
}

/* Testimonials */

.ml-testimonial {
	margin: 0;
}

.ml-testimonial p {
	color: var(--wp--preset--color--ink) !important;
}

.ml-testimonial cite,
.ml-testimonial .ml-cite {
	display: block;
	font-style: normal;
	font-weight: 700;
	margin-top: 1rem;
	color: var(--wp--preset--color--ink);
}

.ml-testimonial .ml-cite span {
	display: block;
	font-weight: 400;
	color: var(--wp--preset--color--slate);
	font-size: var(--wp--preset--font-size--small);
}

/* Comparison table */

.is-style-comparison table {
	border-collapse: separate;
	border-spacing: 0;
	width: 100%;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--ml-radius);
	overflow: hidden;
}

.is-style-comparison th,
.is-style-comparison td {
	border: 0;
	border-bottom: 1px solid var(--wp--preset--color--line);
	padding: 0.7rem 0.9rem;
	text-align: center;
	vertical-align: middle;
}

.is-style-comparison th:first-child,
.is-style-comparison td:first-child {
	text-align: left;
}

.is-style-comparison thead th {
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--base);
	font-weight: 700;
}

.is-style-comparison tbody tr:nth-child(even) td {
	background: var(--wp--preset--color--surface);
}

.is-style-comparison tbody tr:last-child td {
	border-bottom: 0;
}

.is-style-comparison td.ml-yes,
.is-style-comparison td:has(> .ml-yes) {
	color: var(--wp--preset--color--teal-dark);
	font-weight: 700;
}

.is-style-comparison td[colspan] {
	background: var(--wp--preset--color--mint) !important;
	font-weight: 700;
	text-align: left;
}

.ml-table-scroll {
	overflow-x: auto;
}

/* About timeline */

.ml-timeline__item {
	border-left: 3px solid var(--wp--preset--color--teal-light);
	padding-left: var(--wp--preset--spacing--40);
	margin-block-start: var(--wp--preset--spacing--40);
}

.ml-timeline__item > .is-style-eyebrow {
	margin-bottom: 0.35rem;
}

/* Team */

.ml-team-card .wp-block-image img {
	aspect-ratio: 1;
	border-radius: 999px;
	height: 120px;
	object-fit: cover;
	width: 120px;
}

.ml-team-card .wp-block-heading {
	margin-block-end: 0;
}

.ml-team-card .is-style-eyebrow {
	margin-block-start: 0.25rem;
}

/* FAQ / details */

.is-style-faq,
.ml-faq .wp-block-details {
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--ml-radius-sm);
	padding: 0;
	background: var(--wp--preset--color--base);
}

.is-style-faq summary,
.ml-faq .wp-block-details summary {
	cursor: pointer;
	font-weight: 700;
	padding: 1rem 1.25rem;
	list-style: none;
	position: relative;
	padding-right: 3rem;
}

.is-style-faq summary::-webkit-details-marker,
.ml-faq .wp-block-details summary::-webkit-details-marker {
	display: none;
}

.is-style-faq summary::after,
.ml-faq .wp-block-details summary::after {
	content: "+";
	position: absolute;
	right: 1.25rem;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.4rem;
	color: var(--wp--preset--color--teal);
}

.is-style-faq[open] summary::after,
.ml-faq .wp-block-details[open] summary::after {
	content: "\2212";
}

.is-style-faq > :not(summary),
.ml-faq .wp-block-details > :not(summary) {
	padding: 0 1.25rem;
	color: var(--wp--preset--color--slate);
}

.is-style-faq > :last-child,
.ml-faq .wp-block-details > :last-child {
	padding-bottom: 1rem;
}

.ml-faq .wp-block-details + .wp-block-details {
	margin-top: 0.75rem;
}

/* Help Center */

.ml-help-search .wp-block-search__inside-wrapper {
	background: var(--wp--preset--color--base);
	border: 0 !important;
	border-radius: 999px;
	padding: 0.35rem !important;
	box-shadow: var(--wp--preset--shadow--lifted);
	max-width: 640px;
}

.ml-help-search .wp-block-search__input {
	border: 0 !important;
	padding: 0.6rem 1.1rem !important;
	font-size: var(--wp--preset--font-size--medium);
	background: transparent;
}

.ml-help-search .wp-block-search__button {
	border-radius: 999px !important;
	margin-left: 0 !important;
}

.ml-topic-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ml-topic-card {
	position: relative;
	display: block;
	background: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--ml-radius);
	box-shadow: var(--ml-shadow);
	padding: 1.5rem;
	text-decoration: none;
	color: var(--wp--preset--color--ink);
	transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
	height: 100%;
}

.ml-topic-card:hover {
	transform: translateY(-2px);
	box-shadow: var(--wp--preset--shadow--lifted);
	border-color: var(--wp--preset--color--teal-light);
	color: var(--wp--preset--color--ink);
}

.ml-topic-card strong {
	display: block;
	font-size: var(--wp--preset--font-size--large);
	margin-bottom: 0.3rem;
}

.ml-topic-card span {
	display: block;
	color: var(--wp--preset--color--slate);
	font-size: var(--wp--preset--font-size--small);
}

.ml-topic-card .ml-topic-count {
	margin-top: 0.75rem;
	color: var(--wp--preset--color--teal-dark);
	font-weight: 700;
}

.ml-article-list {
	list-style: none;
	padding: 0;
	margin: 0;
	border-top: 1px solid var(--wp--preset--color--line);
}

.ml-article-list li {
	border-bottom: 1px solid var(--wp--preset--color--line);
}

.ml-article-list a {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.85rem 0.25rem;
	text-decoration: none;
	color: var(--wp--preset--color--ink);
	font-weight: 600;
}

.ml-article-list a:hover {
	color: var(--wp--preset--color--teal-dark);
}

.ml-breadcrumbs {
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--slate);
}

.ml-breadcrumbs a {
	color: var(--wp--preset--color--slate);
}

.ml-breadcrumbs span[aria-hidden] {
	margin: 0 0.4rem;
}

.ml-restricted {
	border: 1px solid var(--wp--preset--color--teal-light);
	background: var(--wp--preset--color--mint);
	border-radius: var(--ml-radius);
	padding: 1.75rem;
	margin-top: 2rem;
}

.ml-restricted h2 {
	font-size: var(--wp--preset--font-size--x-large);
	margin-top: 0;
}

.ml-restricted .ml-restricted__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1rem;
}

.ml-restricted .ml-restricted__actions a {
	display: inline-block;
	border-radius: 999px;
	padding: 0.6rem 1.3rem;
	font-weight: 600;
	text-decoration: none;
	background: var(--wp--preset--color--teal);
	color: var(--wp--preset--color--base);
}

.ml-restricted .ml-restricted__actions a.ml-secondary {
	background: transparent;
	color: var(--wp--preset--color--teal-dark);
	border: 2px solid var(--wp--preset--color--teal-dark);
}

.ml-help-article .wp-block-post-content img {
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--ml-radius-sm);
	height: auto;
	max-width: 100%;
}

.ml-help-article .wp-block-post-content h2 {
	font-size: var(--wp--preset--font-size--x-large);
	margin-top: 2.25rem;
}

.ml-help-article .wp-block-post-content h3 {
	font-size: var(--wp--preset--font-size--large);
	margin-top: 1.75rem;
}

.ml-help-article .wp-block-post-content table {
	border-collapse: collapse;
	width: 100%;
	font-size: var(--wp--preset--font-size--small);
}

.ml-help-article .wp-block-post-content th,
.ml-help-article .wp-block-post-content td {
	border: 1px solid var(--wp--preset--color--line);
	padding: 0.5rem 0.7rem;
	text-align: left;
	vertical-align: top;
}

.ml-help-article .wp-block-post-content thead th {
	background: var(--wp--preset--color--surface);
}

.ml-sidebar-nav h2,
.ml-sidebar-nav h3 {
	font-size: var(--wp--preset--font-size--small);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--wp--preset--color--slate);
}

.ml-sidebar-nav ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.ml-sidebar-nav li a {
	display: block;
	padding: 0.35rem 0;
	text-decoration: none;
	color: var(--wp--preset--color--ink);
	font-size: var(--wp--preset--font-size--small);
}

.ml-sidebar-nav li a:hover,
.ml-sidebar-nav li.is-current a {
	color: var(--wp--preset--color--teal-dark);
	font-weight: 700;
}

@media (min-width: 782px) {
	.ml-sticky-col {
		position: sticky;
		top: 6.5rem;
		align-self: flex-start;
	}
}

/* What's New */

.ml-post-card .wp-block-post-title {
	font-size: var(--wp--preset--font-size--large);
	margin: 0.25rem 0 0.4rem;
}

.ml-post-card .wp-block-post-excerpt__excerpt {
	color: var(--wp--preset--color--slate);
	margin: 0;
}

.ml-tag {
	display: inline-block;
	background: var(--wp--preset--color--mint);
	color: var(--wp--preset--color--teal-dark);
	border-radius: 999px;
	padding: 0.1rem 0.7rem;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
}

.ml-whats-new-archive {
	border-top: 1px solid var(--wp--preset--color--line);
}

.ml-whats-new-archive .ml-archive-row {
	align-items: baseline;
	gap: 1rem;
	padding: 0.75rem 0;
	border-bottom: 1px solid var(--wp--preset--color--line);
}

.ml-whats-new-archive .ml-archive-row .wp-block-post-title {
	margin: 0;
	flex: 1 1 auto;
	font-weight: 600;
}

.ml-whats-new-archive .ml-archive-row .wp-block-post-title a {
	text-decoration: none;
	color: var(--wp--preset--color--ink);
}

.ml-whats-new-archive .ml-archive-row .wp-block-post-title a:hover {
	color: var(--wp--preset--color--teal-dark);
	text-decoration: underline;
}

.ml-whats-new-archive .ml-archive-row .wp-block-post-date {
	flex: 0 0 auto;
	white-space: nowrap;
}

/* Gravity Forms */

.ml-form .gform_wrapper.gravity-theme .gfield_label {
	font-weight: 600;
}

.ml-form .gform_wrapper.gravity-theme input[type="text"],
.ml-form .gform_wrapper.gravity-theme input[type="email"],
.ml-form .gform_wrapper.gravity-theme input[type="tel"],
.ml-form .gform_wrapper.gravity-theme select,
.ml-form .gform_wrapper.gravity-theme textarea {
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--ml-radius-sm);
	padding: 0.65rem 0.8rem;
	font-size: var(--wp--preset--font-size--medium);
}

.ml-form .gform_wrapper.gravity-theme input:focus,
.ml-form .gform_wrapper.gravity-theme select:focus,
.ml-form .gform_wrapper.gravity-theme textarea:focus {
	outline: 2px solid var(--wp--preset--color--teal);
	outline-offset: 1px;
	border-color: var(--wp--preset--color--teal);
}

.ml-form .gform_wrapper.gravity-theme .gform_footer input[type="submit"],
.ml-form .gform_wrapper.gravity-theme .gform_footer button {
	background: var(--wp--preset--color--teal);
	color: var(--wp--preset--color--base);
	border: 0;
	border-radius: 999px;
	padding: 0.8rem 1.8rem;
	font-weight: 700;
	font-size: var(--wp--preset--font-size--medium);
	cursor: pointer;
}

.ml-form .gform_wrapper.gravity-theme .gform_footer input[type="submit"]:hover,
.ml-form .gform_wrapper.gravity-theme .gform_footer button:hover {
	background: var(--wp--preset--color--teal-dark);
}

/* Footer */

.ml-footer a {
	color: rgba(255, 255, 255, 0.82);
	text-decoration: none;
}

.ml-footer a:hover {
	color: var(--wp--preset--color--base);
	text-decoration: underline;
}

.ml-footer .ml-footer-links {
	list-style: none;
	padding: 0;
	margin: 0;
}

.ml-footer .ml-footer-links li {
	margin-bottom: 0.45rem;
}

.ml-footer h2 {
	color: var(--wp--preset--color--base);
	font-size: var(--wp--preset--font-size--small);
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

.ml-footer .wp-block-site-logo img {
	background: var(--wp--preset--color--base);
	border-radius: var(--ml-radius-sm);
	padding: 0.5rem 0.75rem;
	max-height: 56px;
	width: auto;
}

/* Utility */

.ml-muted {
	color: var(--wp--preset--color--slate);
}

.ml-center {
	text-align: center;
}

.ml-anchor-offset {
	scroll-margin-top: 6rem;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.is-style-card,
	.ml-topic-card {
		transition: none;
	}
}
