/* Full-width banner layout */
.cb-hero--banner {
	position: relative;
	display: flex;
	align-items: center;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-color: #001b54;
	overflow: hidden;
	color: #fff;
}

.cb-hero__overlay {
	position: absolute;
	inset: 0;
}

.cb-hero__inner {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 720px;
	margin: 0 auto;
	padding: 2rem 1.5rem;
	display: flex;
	flex-direction: column;
}

.cb-hero__inner--align-left {
	align-items: flex-start;
	text-align: left;
	margin-left: 4rem;
	margin-right: auto;
}

.cb-hero__inner--align-center {
	align-items: center;
	text-align: center;
}

.cb-hero__inner--align-right {
	align-items: flex-end;
	text-align: right;
	margin-right: 4rem;
	margin-left: auto;
}

.cb-hero--banner .cb-hero__title {
	font-size: 2.5rem;
	line-height: 1.15;
	margin: 0 0 1rem;
	color: #fff;
}

.cb-hero--banner .cb-hero__content {
	font-size: 1.125rem;
	margin: 0 0 1.5rem;
}

.cb-hero__title {
	font-size: 1.25rem;
	margin: 0 0 0.5rem;
}

.cb-hero__content {
	margin: 0 0 1rem;
}

/* Buttons */
.cb-hero__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.cb-hero__button {
	display: inline-block;
	padding: 0.65rem 1.5rem;
	border-radius: 0.25rem;
	font-weight: 600;
	text-decoration: none;
	transition: opacity 0.15s ease-in-out;
}

.cb-hero__button:hover,
.cb-hero__button:focus {
	opacity: 0.85;
}

.cb-hero__button--primary, .cb-hero__button--primary a {
	background-color: #fff;
	color: var(--primary-color, #332d71);
}

.cb-hero__button--secondary, .cb-hero__button--secondary a {
	background-color: transparent;
	color: inherit;
	border: 2px solid var(--primary-color, #332d71);
	padding: calc(0.65rem - 2px) calc(1.5rem - 2px);
}

/* Editor-only helpers */
.cb-hero__media-controls {
	display: flex;
	gap: 0.5rem;
	align-items: center;
}

.cb-hero__placeholder-note {
	position: relative;
	z-index: 1;
	margin-left: auto;
	padding: 1rem;
}

.cb-hero__button-fields {
	margin-bottom: 1rem;
}

.cb-hero__button-text-input {
	border: 1px solid #ddd;
	border-radius: 2px;
	padding: 6px 8px;
	margin-bottom: 8px;
}