/* ==========================================================
   WOODCOTE HERO & CALLOUT
   ========================================================== */

.wc-hero-callout {
	width: 100%;
	padding: 96px 24px 48px 24px;
	box-sizing: border-box;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}

.wc-hero-callout.wc-block--has-background-image {
	background-color: rgba(4, 10, 28, 0.72);
	background-blend-mode: multiply;
}


/* ==========================================================
   CONTAINER WIDTH
   ========================================================== */

.wc-hero-callout__container {
	width: 100%;
	margin-right: auto;
	margin-left: auto;
	box-sizing: border-box;
}

.wc-hero-callout--width-narrow .wc-hero-callout__container {
	max-width: 900px;
}

.wc-hero-callout--width-standard .wc-hero-callout__container {
	max-width: 1200px;
}

.wc-hero-callout--width-full .wc-hero-callout__container {
	width: 100%;
	max-width: none;
}


/* ==========================================================
   TWO-COLUMN LAYOUT
   ========================================================== */

.wc-hero-callout__layout {
	display: grid;
	grid-template-columns:
		minmax(0, 1fr)
		minmax(0, 1fr);
	gap: 52px;
	align-items: stretch;
	width: 100%;
	box-sizing: border-box;
}


/* ==========================================================
   HERO COLUMN
   ========================================================== */

.wc-hero-callout__hero {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
	padding: 16px 12px;
	text-align: center;
	box-sizing: border-box;
}

.wc-hero-callout__title {
	margin: 0;
	color: inherit;
	line-height: 1.15;
	text-wrap: balance;
}

.wc-hero-callout__subtitle {
	max-width: 680px;
	margin: 12px auto 0;
	color: inherit;
	font-size: clamp(22px, 2vw, 32px);
	font-weight: 700;
	line-height: 1.3;
	text-wrap: balance;
}


/* ==========================================================
   DIVIDER
   ========================================================== */

.wc-hero-callout .wc-divider {
	width: 78px;
	height: 5px;
	margin-top: 30px;
	border: 0;
	border-radius: 10px;
}

.wc-hero-callout .wc-divider--primary {
	background-color: var(--wc-primary-colour, #0d153e);
}

.wc-hero-callout .wc-divider--secondary {
	background-color: var(--wc-secondary-colour, #4bc3d6);
}

.wc-hero-callout .wc-divider--white {
	background-color: #ffffff;
}

.wc-hero-callout .wc-divider--center {
	margin-right: auto;
	margin-left: auto;
}


/* ==========================================================
   HERO CONTENT
   ========================================================== */

.wc-hero-callout__content {
	max-width: 720px;
	margin: 34px auto 0;
	color: inherit;
	font-size: 18px;
	line-height: 1.65;
}

.wc-hero-callout__content > :first-child {
	margin-top: 0;
}

.wc-hero-callout__content > :last-child {
	margin-bottom: 0;
}

.wc-hero-callout__content p {
	margin-top: 0;
	margin-bottom: 22px;
}

.wc-hero-callout__content a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.wc-hero-callout__content ul,
.wc-hero-callout__content ol {
	display: inline-block;
	margin-right: auto;
	margin-left: auto;
	padding-left: 24px;
	text-align: left;
}


/* ==========================================================
   HERO BUTTON
   ========================================================== */

.wc-hero-callout__actions {
	width: 100%;
	max-width: 400px;
	margin: 32px auto 0;
}

.wc-hero-callout .wc-button {
	display: block;
	width: 100%;
	padding: 16px 28px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	border: 2px solid transparent;
	border-radius: 7px;
	box-sizing: border-box;
	transition:
		color 0.2s ease,
		background-color 0.2s ease,
		border-color 0.2s ease;
}


/* Primary button */

.wc-hero-callout .wc-button--primary {
	color: #ffffff;
	background-color: var(--wc-primary-colour, #0d153e);
	border-color: var(--wc-primary-colour, #0d153e);
}

.wc-hero-callout .wc-button--primary:hover,
.wc-hero-callout .wc-button--primary:focus {
	color: var(--wc-primary-colour, #0d153e);
	background-color: var(--wc-secondary-colour, #4bc3d6);
	border-color: var(--wc-secondary-colour, #4bc3d6);
}


/* Secondary button */

.wc-hero-callout .wc-button--secondary {
	color: var(--wc-primary-colour, #0d153e);
	background-color: var(--wc-secondary-colour, #4bc3d6);
	border-color: var(--wc-secondary-colour, #4bc3d6);
}

.wc-hero-callout .wc-button--secondary:hover,
.wc-hero-callout .wc-button--secondary:focus {
	color: #ffffff;
	background-color: var(--wc-primary-colour, #0d153e);
	border-color: var(--wc-primary-colour, #0d153e);
}


/* ==========================================================
   CALLOUT PANEL
   ========================================================== */

.wc-hero-callout__panel {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
	padding: 24px;
	color: #252525;
	background-color: rgba(255, 255, 255, 0.9);
	border-left: 7px solid var(--wc-secondary-colour, #4bc3d6);
	border-radius: 12px;
	box-shadow: 0 12px 34px rgba(0, 0, 0, 0.25);
	text-align: center;
	box-sizing: border-box;
	backdrop-filter: blur(2px);
	-webkit-backdrop-filter: blur(2px);
}

.wc-hero-callout__panel-title {
	margin: 0 0 26px;
	color: #000000;
	line-height: 1.25;
	text-wrap: balance;
}

.wc-hero-callout__panel-content {
	color: #252525;
	font-size: 17px;
	line-height: 1.7;
}

.wc-hero-callout__panel-content > :first-child {
	margin-top: 0;
}

.wc-hero-callout__panel-content > :last-child {
	margin-bottom: 0;
}

.wc-hero-callout__panel-content p {
	margin-top: 0;
	margin-bottom: 26px;
}

.wc-hero-callout__panel-content a {
	color: var(--wc-primary-colour, #0d153e);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.wc-hero-callout__panel-content ul,
.wc-hero-callout__panel-content ol {
	display: inline-block;
	padding-left: 24px;
	text-align: left;
}


/* ==========================================================
   EDITOR
   ========================================================== */

.editor-styles-wrapper .wc-hero-callout {
	box-sizing: border-box;
}


/* ==========================================================
   TABLET
   ========================================================== */

@media screen and (max-width: 1000px) {

	.wc-hero-callout {
		padding: 72px 24px;
	}

	.wc-hero-callout--width-narrow .wc-hero-callout__container,
	.wc-hero-callout--width-standard .wc-hero-callout__container {
		width: 100%;
	}

	.wc-hero-callout__layout {
		grid-template-columns: 1fr;
		gap: 42px;
	}

	.wc-hero-callout__hero {
		padding: 0;
	}

	.wc-hero-callout__panel {
		padding: 42px;
	}

}


/* ==========================================================
   MOBILE
   ========================================================== */

@media screen and (max-width: 767px) {

	.wc-hero-callout {
		padding: 52px 16px;
	}

	.wc-hero-callout__layout {
		gap: 34px;
	}

	.wc-hero-callout__subtitle {
		margin-top: 28px;
		font-size: 23px;
	}

	.wc-hero-callout__content {
		margin-top: 28px;
		font-size: 16px;
		line-height: 1.6;
	}

	.wc-hero-callout__actions {
		max-width: none;
		margin-top: 28px;
	}

	.wc-hero-callout__panel {
		padding: 34px 28px;
		border-left-width: 5px;
	}

	.wc-hero-callout__panel-title {
		margin-bottom: 22px;
	}

	.wc-hero-callout__panel-content {
		font-size: 16px;
		line-height: 1.65;
	}

	.wc-hero-callout__panel-content p {
		margin-bottom: 22px;
	}

}


@media screen and (max-width: 480px) {

	.wc-hero-callout {
		padding: 42px 14px;
	}

	.wc-hero-callout__panel {
		padding: 30px 22px;
	}

}