/*
 * Sections of the home and of the other complex pages (plataformas, fomento,
 * para-voce). Padding and gaps live in the block attributes.
 */

/* Section heading: eyebrow, title and text (cecyber_section_heading_block). */
.cecyber-eyebrow {
	color: var(--wp--preset--color--primary);
	font-family: var(--wp--preset--font-family--montserrat);
	font-size: var(--wp--preset--font-size--medium);
	line-height: 1.25;
	text-transform: uppercase;
}

.cecyber-section-heading--center {
	text-align: center;
}

.cecyber-section-heading--dark {

	.cecyber-eyebrow {
		color: var(--wp--preset--color--primary-lighter);
	}

	:where(h1, h2) {
		color: var(--wp--preset--color--white);
	}

	p:not(.cecyber-eyebrow) {
		color: rgb(255 255 255 / 80%);
	}
}

/* Card with an icon box (cecyber_feature_card_block()). */
.wp-block-group.cecyber-card-feature {
	height: 100%;
}

.cecyber-card-feature--row > .cecyber-card-feature__content {
	flex: 1;
}

.cecyber-buttons-full,
.cecyber-buttons-full .wp-block-button {
	width: 100%;
}

/* === Sections 1–6 (hero to clientes) === */

/* Hero */
.cecyber-home-hero {
	position: relative;
	z-index: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	overflow: hidden;

	> * {
		width: 100%;
	}

	&::after {
		content: "";
		position: absolute;
		z-index: -1;
		top: 1rem;
		right: -4.5rem;
		width: 17rem;
		aspect-ratio: 1033 / 1464;
		background: url(../images/hero-mark.webp) no-repeat center / contain;
		mix-blend-mode: screen;
		opacity: 0.4;
		pointer-events: none;
	}
}

.cecyber-home-hero .cecyber-eyebrow {
	color: var(--wp--preset--color--primary);
}

.cecyber-home-hero h1 {
	line-height: 1.4;
	letter-spacing: -0.03em;
}

.cecyber-home-hero__text {
	color: rgb(255 255 255 / 70%);
	font-family: var(--wp--preset--font-family--inter);
	font-size: var(--wp--preset--font-size--x-large);
	font-weight: 500;
	line-height: 1.7;
}

.wp-block-group.cecyber-home-hero__content {
	max-width: 43.5rem;
	margin-left: 0 !important; /* Beats the auto margin of the constrained layout. */
}

.cecyber-home-hero__mouse {
	position: absolute;
	bottom: 1rem;
	left: 50%;
	display: none;
	width: auto;
	color: var(--wp--preset--color--white);
	transform: translateX(-50%);
}

/* Dark tab that hangs from the hero over the next section. */
.cecyber-home-desafios {
	position: relative;
	padding-top: var(--wp--preset--spacing--90);

	&::before {
		content: "";
		position: absolute;
		top: 0;
		left: 50%;
		display: none;
		width: 8.75rem;
		height: 2.0625rem;
		background: var(--wp--preset--color--primary-darker);
		transform: translateX(-50%);
		mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 33'%3E%3Cpath d='M0 0h140c-12 0-20 4-28 12-10 11-24 21-42 21S38 23 28 12C20 4 12 0 0 0z'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
	}
}

.cecyber-challenge {
	min-height: 5.5rem;
	border-bottom: 2px solid var(--wp--preset--color--border-sub);
}

.cecyber-challenge__title {
	font-family: var(--wp--preset--font-family--montserrat);
	font-weight: 500;
	line-height: 1.3;
}

.cecyber-authority__proofs > * {
	flex: none;
	width: 11.1875rem;
}

/* Platforms card: on small screens the icon sits beside the text. */
.cecyber-platforms__banner {
	border-radius: 0.5rem;
}

.cecyber-platforms .cecyber-card-feature {
	display: flex;
	gap: var(--wp--preset--spacing--40);

	> * {
		margin-block-start: 0;
	}

	> .cecyber-card-feature__content {
		flex: 1;
	}
}

/* Authority strip. */
.cecyber-authority {
	border-radius: 1rem;
}

.cecyber-authority__text {
	color: rgb(255 255 255 / 80%);
	font-weight: 500;
	line-height: 1.6;
}

.cecyber-authority h3 {
	line-height: 1.4;
}

.cecyber-authority :where(h3, h4) {
	font-weight: 600;
}

.cecyber-authority h4 {
	line-height: 1.4;
}

/* Figma cards in these sections have a smaller radius and no fill. */
:is(.cecyber-home-capacidades, .cecyber-home-portfolio) .cecyber-card-feature {
	border-radius: 0.5rem;
	background: none;
}

.cecyber-home-clientes .cecyber-eyebrow {
	line-height: 1.4;
}

.cecyber-home-clientes__slider {
	--cecyber-slider-item: 16.875rem;
}

@media (max-width: 63.9375em) {

	.cecyber-authority.wp-block-group {
		flex-direction: column;
		align-items: stretch;
	}

	.cecyber-authority__proofs.wp-block-group {
		flex-direction: column;
	}
}

@media (min-width: 64em) {

	.cecyber-platforms .cecyber-card-feature {
		display: block;

		> * + * {
			margin-block-start: var(--wp--preset--spacing--50);
		}
	}

	.cecyber-authority__intro {
		flex: 1;
	}

	.cecyber-authority__proofs {
		flex: none;
		align-self: stretch;
		padding-inline: var(--wp--preset--spacing--60);
		border-inline: 1px solid rgb(255 255 255 / 30%);
	}
}

@media (min-width: 48em) {

	.cecyber-home-hero {
		min-height: 37rem;

		&::after {
			top: -3rem;
			right: calc((100% - var(--wp--style--global--wide-size)) / 2 + 1.5rem);
			width: 28rem;
			opacity: 1;
		}
	}

	.cecyber-home-hero__mouse {
		display: flex;
	}

	.cecyber-home-desafios {
		padding-top: 7rem;

		&::before {
			display: block;
		}
	}
}

/* === Sections 7–13 (citação to perguntas frequentes) === */

/* Dot texture behind dark and colored blocks. */
.cecyber-dots {
	background-image: url(../images/hero-texture.webp);
	background-repeat: repeat;
	background-size: 20.8369rem;
}

/* Glass ring around pills and panels (white at 32% with a 19% border). */
.cecyber-ring {
	padding: 0.25rem;
	border: 1px solid rgb(255 255 255 / 19%);
	background: rgb(255 255 255 / 32%);
}

.cecyber-ring--pill {
	border-radius: 9999px;
}

.cecyber-ring--panel {
	border-radius: 1.25rem;
}

.cecyber-label {
	color: var(--wp--preset--color--text-soft);
	font-family: var(--wp--preset--font-family--montserrat);
	font-size: var(--wp--preset--font-size--medium);
	font-weight: 500;
	line-height: 1.3;
}

/* Home: quote of the CEO. */
.wp-block-group.cecyber-quote {
	position: relative;
	z-index: 0;
	overflow: hidden;
	background-image: url(../images/hero-texture.webp);
	background-size: 20.8369rem;

	&::after {
		content: "";
		position: absolute;
		z-index: -1;
		top: 50%;
		left: 50%;
		width: 40.9375rem;
		max-width: 100%;
		aspect-ratio: 1033 / 1464;
		background: url(../images/hero-mark.webp) no-repeat center / contain;
		opacity: 0.2;
		pointer-events: none;
		translate: -50% -50%;
		mix-blend-mode: screen;
	}
}

.cecyber-quote__text {
	max-width: 63rem;
	margin-inline: auto;
	font-family: var(--wp--preset--font-family--montserrat);
	font-weight: 500;
	letter-spacing: -0.03em;
	line-height: 1.4;
}

p.cecyber-quote__text {
	font-size: clamp(1.5rem, 0.85rem + 2.6vw, 2.5rem) !important;
}

/* No token: 40% white over `primary` gives the #77b6bf of the Figma. */
.cecyber-quote__highlight {
	background: none;
	color: color-mix(in srgb, var(--wp--preset--color--white) 40%, var(--wp--preset--color--primary));
}

.wp-block-group.cecyber-quote__ring {
	width: fit-content;
	max-width: 100%;
	margin-inline: auto;
}

.wp-block-group.cecyber-quote__author {
	padding: 0.25rem 1.5rem 0.25rem 0.25rem;
	border-radius: 9999px;
	text-align: left;
}

.cecyber-quote__photo {
	flex: none;
	width: 3rem;
	height: 3rem;
	margin: 0;

	img {
		display: block;
		width: 100%;
		height: 100%;
		border-radius: 50%;
		object-fit: cover;
	}
}

p.cecyber-quote__name {
	font-family: var(--wp--preset--font-family--montserrat);
	font-weight: 500;
	line-height: 1.3;
}

/* Home: capacitação. */
.cecyber-capacitacao .cecyber-section-heading :where(h1, h2) {
	max-width: 55rem;
}

.wp-block-group.cecyber-capacitacao__column {
	display: flex;
	flex-direction: column;

	> .cecyber-timeline {
		flex: 1;
	}
}

/* Timeline: a lime line with a curved branch and a glowing dot per pill. */
.wp-block-group.cecyber-timeline {
	border: 1px solid var(--wp--preset--color--bg-soft);
	border-radius: 1rem;
}

.cecyber-timeline__list {
	margin-right: -0.5rem;
}

.cecyber-timeline__item {
	position: relative;
	display: flex;
	padding-left: 2rem;

	&::before,
	&::after {
		content: "";
		position: absolute;
		left: 0;
		border-left: 2px solid var(--wp--preset--color--accent-lime);
	}

	&::before {
		top: -1rem;
		bottom: 0;
	}

	&:first-child::before {
		top: -3rem;
	}

	&:last-child::before {
		bottom: calc(50% + 0.8125rem);
	}

	&::after {
		top: calc(50% - 0.8125rem);
		box-sizing: border-box;
		width: 2rem;
		height: 0.875rem;
		border-bottom: 2px solid var(--wp--preset--color--accent-lime);
		border-bottom-left-radius: 0.75rem;
	}
}

.wp-block-group.cecyber-timeline__pill {
	position: relative;
	padding: 0.5rem 1.5rem 0.5rem 0.5rem;
	border: 1px solid rgb(255 255 255 / 30%);
	border-radius: 9999px;
	background: rgb(255 255 255 / 10%);

	&::before {
		content: "";
		position: absolute;
		top: calc(50% - 0.25rem);
		left: -0.25rem;
		width: 0.5rem;
		height: 0.5rem;
		border-radius: 50%;
		background: var(--wp--preset--color--accent-lime);
		box-shadow: 0 0 0.5rem 0.125rem var(--wp--preset--color--accent-lime);
	}

	p {
		font-weight: 500;
		line-height: 1.27;
	}
}

.cecyber-timeline__icon {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border: 1px solid var(--wp--preset--color--accent-cyan);
	border-radius: 50%;
	background: var(--wp--preset--color--primary-lighter);
	color: var(--wp--preset--color--primary-darker);

	.cecyber-icon {
		width: 1.25rem;
		height: 1.25rem;
	}
}

.wp-block-group.cecyber-value-card {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
}

.cecyber-value-card__image {
	flex: none;
	width: 9rem;
	height: 9rem;
	margin: 0;

	img {
		display: block;
		width: 100%;
		height: 100%;
		object-fit: contain;
	}
}

@media (max-width: 47.9375em) {

	.wp-block-group.cecyber-timeline {
		padding: var(--wp--preset--spacing--50) !important;
	}

	.cecyber-timeline__list {
		margin-right: 0;
	}

	.cecyber-timeline__item:first-child::before {
		top: -1.5rem;
	}

	.wp-block-group.cecyber-capacitacao__values {
		row-gap: var(--wp--preset--spacing--40);
	}

	.cecyber-timeline__item .cecyber-timeline__pill {
		flex: 1;
	}

	.wp-block-group.cecyber-value-card {
		flex-direction: row;
		gap: var(--wp--preset--spacing--40);
		align-items: flex-start;
		justify-content: flex-start;

		> * + * {
			margin-block-start: 0;
		}
	}

	.cecyber-value-card__image {
		width: 4.5rem;
		height: 4.5rem;
	}
}

/* Home: cultura organizacional. */
.wp-block-group.cecyber-culture__values {
	gap: 1.5rem;
}

.cecyber-culture__values p.cecyber-culture__value {
	padding: 0.5rem 2rem;
	border-radius: 9999px;
	font-family: var(--wp--preset--font-family--montserrat);
	font-size: var(--wp--preset--font-size--xx-large);
	font-weight: 600;
	line-height: 2;
}

.wp-block-group.cecyber-culture__levels.is-layout-grid {
	grid-template-columns: 1fr;
	overflow: hidden;
	border-radius: 1rem;
}

.cecyber-culture__level {
	border-bottom: 1px solid var(--wp--preset--color--bg-soft);

	&:last-child {
		border-bottom: 0;
	}
}

.cecyber-culture__label {
	display: flex;
	gap: 0.5rem;
	align-items: center;

	&::before {
		content: "";
		flex: none;
		width: 1.125rem;
		height: 1.125rem;
		background: currentcolor;
		mask: url(../icons/file-search.svg) no-repeat center / contain;
	}
}

.cecyber-arrow-list {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	padding: 0;
	list-style: none;

	li {
		display: flex;
		gap: 1rem;
		align-items: center;

		&::before {
			content: "";
			flex: none;
			width: 1.25rem;
			height: 1.25rem;
			background: currentcolor;
			mask: url(../icons/arrow-right.svg) no-repeat center / contain;
		}
	}
}

ul.wp-block-list.cecyber-arrow-list {
	padding-left: 0;
}

@media (min-width: 64em) {

	.wp-block-group.cecyber-culture__levels.is-layout-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.cecyber-culture__level {
		border-right: 1px solid var(--wp--preset--color--bg-soft);
		border-bottom: 0;

		&:last-child {
			border-right: 0;
		}
	}
}

@media (max-width: 47.9375em) {

	.cecyber-culture__values p.cecyber-culture__value {
		padding: 0.5rem 1.5rem;
		font-size: var(--wp--preset--font-size--medium);
		line-height: 1.5;
	}
}

/* Home: parceiros (no vertical padding in the Figma; neighbors have 80px). */
.wp-block-group.cecyber-partners {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.cecyber-partners__title {
	margin-block: 0;
	font-family: var(--wp--preset--font-family--montserrat);
	font-weight: 500;
	line-height: 1.4;
}

.wp-block-group.cecyber-partners__logos {
	gap: 1rem 0.75rem;
}

.cecyber-partners__logo {
	flex: none;
	margin: 0;

	img {
		display: block;
		width: 100%;
		height: 100%;
		object-fit: cover;
	}
}

.cecyber-partners__logo--duranium {
	width: 8.75rem;
	height: 2.375rem;
}

.cecyber-partners__logo--falconi {
	width: 7rem;
	height: 1.75rem;
}

.cecyber-partners__logo--aucta {
	width: 9.875rem;
	height: 1.0625rem;
}

.cecyber-partners__logo--square {
	width: 2.9375rem;
	height: 2.6875rem;
}

@media (min-width: 48em) {

	.wp-block-group.cecyber-partners__logos {
		column-gap: 5rem;
	}
}

/* Home: artigos. The Post Template slides like a `.cecyber-slider` group. */
@media (min-width: 48em) {

	.wp-block-post-template.cecyber-slider {
		display: flex;
		flex-wrap: nowrap;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;

		> * {
			flex: none;
			width: var(--cecyber-slider-item, 17.5rem);
			scroll-snap-align: start;
		}
	}

	.wp-block-post-template.cecyber-slider--thirds {
		--cecyber-slider-item: calc((100% - 2 * var(--wp--preset--spacing--45)) / 3);
	}
}

.wp-block-query > .cecyber-slider-nav {
	margin-top: var(--wp--preset--spacing--70);
}

/* Home: perguntas frequentes. */
.cecyber-tabs__panel[hidden] {
	display: none;
}

.wp-block-buttons.cecyber-tabs__list {
	flex-wrap: nowrap;
	gap: 0;
	padding: 0.25rem;
	border: 1px solid var(--wp--preset--color--bg-soft);
	border-radius: 9999px;
	background: var(--wp--preset--color--bg-weak);

	.wp-block-button__link {
		padding: 0.5rem 1.5rem;
		font-size: var(--wp--preset--font-size--medium);
		font-weight: 500;
		line-height: 2.125;
	}

	/* With tabs.js, aria-selected decides the look (see the note there). */
	.wp-block-button__link[role="tab"] {
		border-color: transparent;
		background: transparent;
		color: var(--wp--preset--color--text-main);

		&:hover {
			color: var(--wp--preset--color--primary);
		}
	}

	.wp-block-button__link[aria-selected="true"],
	.wp-block-button__link[aria-selected="true"]:hover {
		border-color: var(--wp--preset--color--primary);
		background: var(--wp--preset--color--primary);
		color: var(--wp--preset--color--white);
	}
}

.wp-block-group.cecyber-faq.is-layout-grid {
	grid-template-columns: minmax(0, 1fr);
}

.wp-block-group.cecyber-faq__aside {
	display: flex;
	flex-direction: column;
	align-self: start;
}

.wp-block-group.cecyber-faq__help {
	border: 1px solid var(--wp--preset--color--bg-soft);
	border-radius: 3rem;
}

.cecyber-faq__icon {
	flex: none;
	color: var(--wp--preset--color--primary);

	.cecyber-icon {
		display: block;
		width: 2rem;
		height: 2rem;
	}
}

/* Fixed height: opening an answer beside it must not stretch the image. */
.cecyber-faq__image {
	position: relative;
	display: none;
	flex: none;
	height: 21.875rem;
	overflow: hidden;
	border: 1px solid var(--wp--preset--color--bg-soft);
	border-radius: 3rem;
	background: var(--wp--preset--color--bg-weak);

	img {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		object-fit: cover;
	}
}

@media (min-width: 48em) {

	.wp-block-group.cecyber-faq.is-layout-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cecyber-faq__image {
		display: block;
	}
}

@media (min-width: 75em) {

	.wp-block-group.cecyber-faq.is-layout-grid {
		grid-template-columns: 37rem minmax(0, 1fr);
		column-gap: 8.5rem;
	}
}

/* === Plataformas === */

.cecyber-platform-list > :not(:last-child) {
	border-bottom: 1px solid var(--wp--preset--color--border-sub);
}

/* On small screens the scenario columns read as one list. */
@media (max-width: 47.9375em) {

	.cecyber-scenarios > .cecyber-scenarios__row + .cecyber-scenarios__row {
		margin-block-start: 0.625rem;
	}

	.wp-block-group.cecyber-scenarios__row {
		gap: 0.625rem;
	}
}

/* Demo form: the button sits on the left, right below the fields. */
.cecyber-form--compact {
	gap: var(--wp--preset--spacing--50);
}

@media (min-width: 48em) {

	.cecyber-form--compact .cecyber-form__actions {
		justify-content: flex-start;
	}
}

/* === Fomento === */

.wp-block-group.cecyber-card-project > .cecyber-card-project__media {
	flex: 0 0 26.9375rem;
	margin: 0;
	overflow: hidden;
	border-radius: 0.75rem;
}

.cecyber-card-project__media img {
	width: 100%;
	height: auto;
	aspect-ratio: 431 / 429;
	object-fit: cover;
}

.cecyber-card-project__content {
	flex: 1;
}

.cecyber-card-project .cecyber-check-list li::before {
	background: currentcolor;
}

@media (max-width: 47.9375em) {

	.wp-block-group.cecyber-card-project {
		flex-direction: column;
		gap: var(--wp--preset--spacing--40);
		align-items: stretch;
	}

	.wp-block-group.cecyber-card-project > .cecyber-card-project__media {
		flex: none;
	}

	.cecyber-card-project__media img {
		height: 17.1875rem;
		aspect-ratio: auto;
	}
}

/* The bar on top of the form card follows the card's rounded corners. */
.cecyber-card-form {
	overflow: hidden;
}

.cecyber-card-form .cecyber-form__actions {
	justify-content: flex-end;
}

@media (max-width: 47.9375em) {

	/* The paddings beat the inline ones of the blocks, set for the desktop. */
	.wp-block-group.cecyber-card-form__bar {
		flex-direction: column;
		align-items: flex-start;
		padding-inline: var(--wp--preset--spacing--50) !important;
	}

	.cecyber-card-form .wp-block-columns {
		padding: var(--wp--preset--spacing--50) !important;
	}
}

/* === Para você === */

/* Section heading beside a button: the heading takes the room left. */
.wp-block-group.cecyber-section-header > .cecyber-section-heading {
	flex: 1 1 30rem;
}

/*
 * Hero of a page with the "Página com hero próprio" template: the padding on
 * top leaves room for the breadcrumb, which the template places over the hero.
 */
.wp-block-group.cecyber-hero {
	position: relative;
	z-index: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	overflow: hidden;
	padding-top: calc(var(--wp--preset--spacing--50) + 2.1875rem + var(--wp--preset--spacing--60));
	padding-bottom: var(--wp--preset--spacing--70);
}

.wp-block-group.cecyber-hero__content {
	max-width: 43.5rem;
	margin-left: 0 !important; /* Beats the auto margin of the constrained layout. */
}

.cecyber-hero__title {
	line-height: 1.4;
	letter-spacing: -0.03em;
}

.cecyber-hero__text {
	color: rgb(255 255 255 / 70%);
	font-size: var(--wp--preset--font-size--large);
	font-weight: 500;
	line-height: 1.7;
}

/* Faded behind the text on small screens, beside it on the desktop. */
.wp-block-image.cecyber-hero__image {
	position: absolute;
	z-index: -1;
	top: 6rem;
	right: -1.5rem;
	width: 15.25rem;
	margin: 0;
	opacity: 0.35;
	pointer-events: none;
}

.cecyber-hero__image img {
	display: block;
	width: 100%;
	height: auto;
}

.wp-block-embed.cecyber-video-rounded {
	border-radius: 1rem;
	background: var(--wp--preset--color--primary-darker);
}

.cecyber-text-strong strong {
	color: var(--wp--preset--color--text-main);
}

/* Testimonial card: the photo is the background image of the circle. */
.wp-block-group.cecyber-card-testimonial__photo {
	flex: none;
	width: 4rem;
	height: 4rem;
	border-radius: 9999px;
	background-position: center;
	background-size: cover;
}

/* Photo with the name over it (cover block, like card-expert). */
.wp-block-cover.cecyber-photo-card {
	overflow: hidden;
	min-height: 14.5rem !important; /* Beats the inline desktop height. */
	border-radius: 1rem;
	background-color: var(--wp--preset--color--primary-dark);
}

/* In a carousel the cards stretch to the tallest one (100% would stop that). */
.wp-block-group.cecyber-slider > .cecyber-card-program {
	height: auto;
}

.cecyber-card-program__badge {
	padding: 0.25rem var(--wp--preset--spacing--40);
	border: 1.5px solid var(--wp--preset--color--accent-lime);
	border-radius: 9999px;
	color: var(--wp--preset--color--accent-lime);
	line-height: 1.5;
	white-space: nowrap;
}

.cecyber-partners__logo--wide {
	width: 7.5rem;
	height: 2.125rem;

	img {
		object-fit: contain;
	}
}

.cecyber-card-newsletter {
	border-radius: 1.5rem;
}

.cecyber-form--newsletter {

	.cecyber-form__consent {
		margin: 0;
		color: var(--wp--preset--color--text-soft);
	}

	.cecyber-form__submit {
		align-self: flex-start;
	}
}

.cecyber-card-newsletter__image img {
	width: 100%;
	max-width: 24.25rem;
}

@media (max-width: 47.9375em) {

	/* The padding beats the inline one of the block, set for the desktop. */
	.wp-block-columns.cecyber-card-newsletter {
		padding: var(--wp--preset--spacing--50) !important;
	}
}

@media (min-width: 48em) {

	.wp-block-group.cecyber-hero {
		min-height: 37rem;
		padding-block: var(--wp--preset--spacing--90);
	}

	.cecyber-hero__text {
		font-size: var(--wp--preset--font-size--x-large);
	}

	.wp-block-cover.cecyber-photo-card {
		min-height: 27.5rem !important;
	}
}

@media (min-width: 75em) {

	.wp-block-image.cecyber-hero__image {
		top: 5.375rem;
		right: max(var(--wp--style--root--padding-right), (100% - var(--wp--style--global--wide-size)) / 2);
		width: 30.4375rem;
		opacity: 1;
	}
}

/* === Curso (página de um curso de certificação) === */

/* Check list in the dark text of the course sections. */
.cecyber-check-list--strong {
	color: var(--wp--preset--color--text-main);
	font-weight: 500;
	line-height: 1.8;

	strong {
		font-weight: 600;
	}
}

/* What a price plan does not include: x icon and soft text. */
.cecyber-check-list.cecyber-check-list--excluded {
	color: var(--wp--preset--color--text-soft);

	li::before {
		background: var(--wp--preset--color--danger);
		mask-image: url(../icons/xmark-circle.svg);
	}

	strong {
		color: inherit;
		font-weight: 800;
	}
}

.wp-block-group.cecyber-course-partner > .cecyber-course-partner__logo {
	flex: none;
	margin: 0;
}

.cecyber-course-card__image img {
	width: 100%;
}

/* Benefit card: white icon in a round primary box. */
.wp-block-group.cecyber-course-benefit > .cecyber-course-benefit__icon {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 4rem;
	height: 4rem;
	margin: 0;
	border-radius: 9999px;
	background: var(--wp--preset--color--primary);

	img {
		width: 2.25rem;
		height: 2.25rem;
	}
}

.cecyber-card.cecyber-course-benefit--highlight,
.cecyber-card.cecyber-course-plan--highlight {
	border: 2px solid var(--wp--preset--color--primary);
}

/* The divider rule removes margins; in the plan card it keeps the card gap. */
.cecyber-course-plan > .wp-block-separator.cecyber-divider {
	margin-block-start: var(--wp--preset--spacing--50);
}

/* "Orçamento para empresas": link to the company form. */
.cecyber-course-link {
	font-family: var(--wp--preset--font-family--montserrat);
	font-weight: 600;
	line-height: 1.3;

	a {
		color: inherit;
		text-decoration: none;

		&:hover {
			text-decoration: underline;
		}
	}
}

@media (max-width: 47.9375em) {

	.wp-block-group.cecyber-course-partner {
		flex-direction: column;
		align-items: flex-start;
	}

	.wp-block-group.cecyber-course-actions {
		flex-direction: column;
		align-items: stretch;
		gap: var(--wp--preset--spacing--40);
	}
}
