@use "@gloria/layout/_mixins.scss" as *;

.c-main {
	margin: var(--spacing-6) 0;

	&__content-title {
		margin-top: 0;

		&--align-center {
			display: flex;
			align-items: center;

			.c-icon {
				margin-right: var(--spacing-2);
				color: var(--color-primary-500);
			}
		}
	}

	&__heading-wrapper {
		display: flex;
		flex-wrap: nowrap;
		justify-content: space-between;
		gap: var(--spacing-4);

		@include mobile {
			align-items: flex-start;
		}

		+ .b-heading {
			margin-top: 0;
		}

		+ h2,
		+ h3,
		+ h4,
		+ h5,
		+ h6 {
			margin-top: var(--spacing-4);
		}

		&--api {
			flex-wrap: wrap;
		}
	}

	&__content-buttons {
		display: flex;
		flex-wrap: nowrap;
		align-items: flex-start;
		gap: var(--spacing-1);
		justify-content: flex-end;
	}
}
