/* Official objectives page. Loaded only with the shortcode. */

.vertex-objectives {
	max-width: 100%;
	overflow-x: clip;
	line-height: 1.7;
	color: #152033;
}

body.vx-lang-am .vertex-objectives {
	line-height: 1.9;
}

.vertex-objectives-hero,
.vertex-objectives-intro,
.vertex-objectives-panel,
.vertex-objectives-card,
.vertex-objectives-flow,
.vertex-objectives-cta {
	min-width: 0;
	background: #ffffff;
	border: 1px solid rgba(0, 85, 212, 0.2);
	border-radius: 16px;
	box-shadow: 0 10px 28px rgba(13, 27, 46, 0.08);
}

.vertex-objectives-hero {
	min-height: 0;
	margin: 0 0 1rem;
	padding: 1.15rem 1.2rem 1.2rem;
	border-top: 3px solid #0055D4;
}

.vertex-objectives-eyebrow {
	margin: 0;
	color: #0055D4;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.5;
}

body.vx-lang-am .vertex-objectives-eyebrow {
	letter-spacing: 0;
}

body.vx-body .vertex-objectives-hero h3.wp-block-heading {
	margin: 0.45rem 0 0.55rem;
	font-size: clamp(1.5rem, 0.4vw + 1.4rem, 2rem);
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0;
	color: #0d1b2e;
}

.vertex-objectives-support,
.vertex-objectives-tagline,
.vertex-objectives-note,
.vertex-objectives-caption {
	margin: 0.45rem 0 0;
	color: #243447;
}

.vertex-objectives-tagline {
	color: #0055D4;
	font-weight: 600;
}

.vertex-objectives-intro,
.vertex-objectives-panel,
.vertex-objectives-flow,
.vertex-objectives-cta {
	margin-top: 1rem;
	padding: 1rem 1.15rem 1.15rem;
}

body.vx-body .vertex-objectives h4.wp-block-heading {
	margin: 0 0 0.55rem;
	font-size: clamp(1.125rem, 0.2vw + 1.05rem, 1.375rem);
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0;
	color: #0d1b2e;
}

.vertex-objectives-chips,
.vertex-objectives-tags,
.vertex-objectives-steps {
	margin: 0.7rem 0 0;
	padding: 0;
	list-style: none;
}

.vertex-objectives-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
}

.vertex-objectives-chips li,
.vertex-objectives-tags li {
	margin: 0;
	padding: 0.28rem 0.65rem;
	border: 1px solid rgba(20, 147, 196, 0.55);
	border-radius: 999px;
	background: #ffffff;
	color: #0d1b2e;
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.45;
}

.vertex-objectives-tools {
	margin-top: 1rem;
}

.vertex-objectives-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}

.vertex-objectives-filters button {
	margin: 0;
	padding: 0.4rem 0.75rem;
	border: 1px solid rgba(0, 85, 212, 0.35);
	border-radius: 999px;
	background: #ffffff;
	color: #0d1b2e;
	font: inherit;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.4;
	cursor: pointer;
}

.vertex-objectives-filters button[aria-pressed="true"] {
	border-color: #0055D4;
	background: #0055D4;
	color: #ffffff;
}

.vertex-objectives-filters button:focus-visible,
.vertex-objectives-search input:focus-visible,
.vertex-objectives-card summary:focus-visible,
.vertex-objectives-actions a:focus-visible {
	outline: 2px solid #1493c4;
	outline-offset: 3px;
}

.vertex-objectives-search {
	margin-top: 0.75rem;
}

.vertex-objectives-search label {
	display: block;
	margin-bottom: 0.3rem;
	font-weight: 700;
}

.vertex-objectives-search input {
	display: block;
	width: 100%;
	max-width: 40rem;
	min-height: 2.75rem;
	padding: 0.55rem 0.75rem;
	border: 1px solid rgba(0, 85, 212, 0.35);
	border-radius: 12px;
	background: #ffffff;
	color: #152033;
	font: inherit;
}

.vertex-objectives-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.85rem;
	margin-top: 0.9rem;
}

.vertex-objectives-card[hidden] {
	display: none !important;
}

.vertex-objectives-card {
	padding: 0.85rem 0.95rem 0.95rem;
}

.vertex-objectives-card summary {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	grid-template-areas:
		"icon title"
		"read read";
	gap: 0.45rem 0.65rem;
	align-items: center;
	list-style: none;
	cursor: pointer;
}

.vertex-objectives-card summary::-webkit-details-marker {
	display: none;
}

.vertex-objectives-icon {
	grid-area: icon;
	color: #0055D4;
}

body.vx-body .vertex-objectives-card h4.wp-block-heading {
	grid-area: title;
	margin: 0;
}

.vertex-objectives-num {
	display: inline-block;
	margin-inline-end: 0.4rem;
	color: #0055D4;
	font-weight: 700;
}

.vertex-objectives-read {
	grid-area: read;
	justify-self: start;
	padding: 0.25rem 0.65rem;
	border: 1px solid #0055D4;
	border-radius: 999px;
	color: #0055D4;
	font-size: 0.8125rem;
	font-weight: 700;
	line-height: 1.4;
}

.vertex-objectives-read__open {
	display: none;
}

.vertex-objectives-card details[open] .vertex-objectives-read__closed {
	display: none;
}

.vertex-objectives-card details[open] .vertex-objectives-read__open {
	display: inline;
}

.vertex-objectives-detail {
	margin-top: 0.75rem;
	padding-top: 0.75rem;
	border-top: 1px solid rgba(20, 147, 196, 0.35);
}

.vertex-objectives-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
}

.vertex-objectives-official {
	margin: 0.75rem 0 0;
	line-height: 1.9;
	overflow-wrap: break-word;
}

.vertex-objectives-steps {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	margin-top: 0.75rem;
}

.vertex-objectives-steps li {
	margin: 0;
	padding: 0.7rem 0.85rem;
	border: 1px solid rgba(0, 85, 212, 0.18);
	border-radius: 16px;
	background: #ffffff;
}

.vertex-objectives-techs {
	display: block;
	margin-top: 0.25rem;
	color: #0055D4;
	font-weight: 600;
}

.vertex-objectives-empty {
	margin: 0.8rem 0 0;
}

.vertex-objectives-empty[hidden] {
	display: none !important;
}

.vertex-objectives-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
	margin-top: 0.85rem;
}

body.vx-body .vertex-objectives-actions .vertex-objectives-btn--line {
	background: #ffffff;
	color: #0055D4;
	border-color: #0055D4;
}

body.vx-body .vertex-objectives-actions .vertex-objectives-btn--line:hover,
body.vx-body .vertex-objectives-actions .vertex-objectives-btn--line:focus-visible {
	background: #0055D4;
	color: #ffffff;
}

@media (min-width: 721px) {
	.vertex-objectives-grid {
		grid-template-columns: 1fr 1fr;
	}

	.vertex-objectives-card summary {
		grid-template-columns: auto minmax(0, 1fr) auto;
		grid-template-areas: "icon title read";
	}
}

@media (max-width: 720px) {
	.vertex-objectives-search input {
		max-width: none;
	}

	.vertex-objectives-grid,
	.vertex-objectives-actions,
	.vertex-objectives-actions a {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.vertex-objectives,
	.vertex-objectives * {
		scroll-behavior: auto;
		transition: none;
		animation: none;
	}
}
