/**
 * ELOG shared UX Blocks
 * Scope every component with .elog-uxb to keep blog/page styles isolated.
 */
.elog-uxb {
	--elog-uxb-red: #d3072c;
	--elog-uxb-red-dark: #ae061f;
	--elog-uxb-navy: #071d43;
	--elog-uxb-text: #25324b;
	--elog-uxb-muted: #5f6f88;
	--elog-uxb-line: #e4eaf2;
	position: relative;
	font-family: inherit;
	box-sizing: border-box;
}
.elog-uxb,
.elog-uxb * { box-sizing: border-box; }
.elog-uxb > .section-content { position: relative; z-index: 2; width: 100%; }
.elog-uxb .row::before,
.elog-uxb .row::after,
.elog-uxb .row > br,
.elog-uxb .col-inner > br { display: none; }
.elog-uxb .row > .col { min-width: 0; padding-bottom: 0; }
.elog-uxb .img { margin: 0 !important; }
.elog-uxb .text { margin: 0; }
.elog-uxb .text p { margin: 0; color: inherit; font: inherit; }
.elog-uxb a:focus-visible,
.elog-uxb button:focus-visible,
.elog-uxb input:focus-visible,
.elog-uxb select:focus-visible { outline: 3px solid #071d43; outline-offset: 3px; }

/* Blog CTA — Melbourne */
.elog-uxb.elog-uxb-blog-cta {
	left: 50%;
	width: min(1340px,calc(100vw - 200px));
	max-width: none !important;
	margin: 48px 0 !important;
	padding: 0 !important;
	overflow: hidden;
	border: 1px solid #edf1f6;
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 24px 60px rgba(7,29,67,.10);
	transform: translateX(-50%);
	isolation: isolate;
}
.elog-uxb-blog-cta > .section-content > .row.elog-uxb-blog-cta__art-row {
	position: absolute;
	z-index: -2;
	inset: 0 0 146px;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	pointer-events: none;
}
.elog-uxb-blog-cta__art-row > .col,
.elog-uxb-blog-cta__art-row > .col > .col-inner,
.elog-uxb-blog-cta .img.elog-uxb-blog-cta__art,
.elog-uxb-blog-cta__art .img-inner { width: 100% !important; height: 100%; }
.elog-uxb-blog-cta__art img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.elog-uxb-blog-cta::before {
	content: "";
	position: absolute;
	z-index: -1;
	inset: 0 0 146px;
	background: linear-gradient(90deg,#fff 0%,rgba(255,255,255,.985) 39%,rgba(255,255,255,.74) 54%,rgba(255,255,255,0) 72%);
	pointer-events: none;
}
.elog-uxb-blog-cta .row.elog-uxb-blog-cta__stage {
	display: grid;
	grid-template-columns: minmax(0,1.22fr) minmax(370px,.84fr) minmax(120px,.28fr);
	gap: 28px;
	align-items: center;
	width: calc(100% - 72px) !important;
	max-width: 1268px !important;
	min-height: 760px;
	margin: 0 auto !important;
	padding: 42px 0 36px;
}
.elog-uxb-blog-cta__stage > .col { width: 100%; max-width: none; flex-basis: auto; }
.elog-uxb-blog-cta__copy > .col-inner { max-width: 650px; }
.elog-uxb-blog-cta .row.elog-uxb-blog-cta__eyebrow {
	display: grid;
	grid-template-columns: 44px minmax(0,1fr);
	gap: 12px;
	align-items: center;
	width: 100%;
	margin: 0 0 18px !important;
}
.elog-uxb-blog-cta__eyebrow > .col { width: 100%; max-width: none; flex-basis: auto; }
.elog-uxb-blog-cta__eyebrow .is-divider { margin: 0 !important; }
.elog-uxb-blog-cta__eyebrow-text { color: var(--elog-uxb-red); font-size: 13px; font-weight: 750; line-height: 1.4; letter-spacing: .15em; }
.elog-uxb-blog-cta__heading { margin: 0 !important; padding: 0; }
.elog-uxb-blog-cta__heading .section-title {
	margin: 0;
	padding: 0;
	border: 0;
	color: var(--elog-uxb-navy);
	font-size: clamp(34px,3vw,48px);
	font-weight: 850;
	line-height: 1.08;
	letter-spacing: -.04em;
}
.elog-uxb-blog-cta__heading .section-title > b { display: none; }
.elog-uxb-blog-cta__heading .section-title-main { margin: 0; padding: 0; border: 0; color: inherit; font: inherit; text-transform: none; }
.elog-uxb-blog-cta__heading .section-title-main { white-space: normal; }
.elog-uxb-blog-cta__heading-accent {
	margin-top: 3px;
	color: var(--elog-uxb-red);
	font-size: clamp(32px,2.55vw,42px);
	font-weight: 850;
	line-height: 1.08;
	letter-spacing: -.04em;
}
.elog-uxb-blog-cta__lead { max-width: 600px; margin: 17px 0 0; color: #52617a; font-size: 16px; line-height: 1.55; }
.elog-uxb-blog-cta .row.elog-uxb-blog-cta__benefits {
	display: grid;
	grid-template-columns: repeat(4,minmax(0,1fr));
	gap: 10px;
	width: 100%;
	margin: 16px 0 20px !important;
}
.elog-uxb-blog-cta__benefits > .col { width: 100%; max-width: none; flex-basis: auto; }
.elog-uxb-blog-cta__benefit > .col-inner {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	min-height: 122px;
	padding: 16px 14px;
	border: 1px solid #fde8ec;
	border-radius: 13px;
	background: linear-gradient(145deg,#fff,#fff2f4);
}
.elog-uxb-blog-cta .img.elog-uxb-blog-cta__benefit-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 45px !important;
	height: 45px;
	margin-bottom: 11px !important;
	padding: 10px;
	border-radius: 50%;
	background: var(--elog-uxb-red);
}
.elog-uxb-blog-cta__benefit-icon img { filter: brightness(0) invert(1); }
.elog-uxb-blog-cta__benefit-label { color: var(--elog-uxb-navy); font-size: 14px; font-weight: 750; line-height: 1.35; }
.elog-uxb-blog-cta__benefit-label::after {
	content: "›";
	position: absolute;
	right: 12px;
	top: 49%;
	color: var(--elog-uxb-red);
	font-family: Arial,sans-serif;
	font-size: 25px;
	font-weight: 400;
}
.elog-uxb-blog-cta__body-copy { margin: 0 0 13px; color: var(--elog-uxb-text); font-size: 14px; line-height: 1.65; }
.elog-uxb-blog-cta .row.elog-uxb-blog-cta__notice {
	display: grid;
	grid-template-columns: 34px minmax(0,1fr);
	gap: 12px;
	align-items: center;
	width: 100%;
	margin: 18px 0 20px !important;
	padding: 14px 16px;
	border-radius: 10px;
	background: linear-gradient(90deg,#fff0f1,#fde5e8);
}
.elog-uxb-blog-cta__notice > .col { width: 100%; max-width: none; flex-basis: auto; }
.elog-uxb-blog-cta .img.elog-uxb-blog-cta__notice-icon { width: 28px !important; }
.elog-uxb-blog-cta__notice-text { color: #36425a; font-size: 12px; line-height: 1.55; }
.elog-uxb-blog-cta .row.elog-uxb-blog-cta__commitments {
	display: grid;
	grid-template-columns: repeat(4,minmax(0,1fr));
	gap: 12px;
	width: 100%;
	margin: 0 !important;
}
.elog-uxb-blog-cta__commitments > .col { width: 100%; max-width: none; flex-basis: auto; }
.elog-uxb-blog-cta__commitment > .col-inner { display: grid; grid-template-columns: 31px minmax(0,1fr); gap: 8px; align-items: center; }
.elog-uxb-blog-cta .img.elog-uxb-blog-cta__commitment-icon { width: 31px !important; }
.elog-uxb-blog-cta__commitment-text { color: var(--elog-uxb-text); font-size: 11px; line-height: 1.45; }

/* Functional CF7 card kept editable from Contact Form 7 admin. */
.elog-uxb-blog-cta__form-col > .col-inner {
	overflow: hidden;
	padding: 24px 22px 20px;
	border: 1px solid rgba(255,255,255,.8);
	border-radius: 22px;
	background: linear-gradient(180deg,#ef1c38 0,#bc061f 135px,#fff 135px,#fff 100%);
	box-shadow: 0 20px 44px rgba(7,29,67,.18);
}
.elog-uxb-blog-cta__form-title { max-width: 300px; color: #fff; font-size: 24px; font-weight: 850; line-height: 1.22; letter-spacing: -.025em; }
.elog-uxb-blog-cta__form-subtitle { max-width: 310px; margin-top: 7px; color: rgba(255,255,255,.92); font-size: 13px; line-height: 1.5; }
.elog-uxb-blog-cta__form-col .wpcf7 { margin-top: 30px; }
.elog-uxb-blog-cta__form-col .wpcf7 form { margin: 0; }
.elog-uxb-blog-cta__form-col .elog-cf7-quote { padding: 0; background: transparent; }
.elog-uxb-blog-cta__form-col .elog-cf7-type { margin: 0 0 10px; color: var(--elog-uxb-navy); font-size: 12px; font-weight: 700; }
.elog-uxb-blog-cta__form-col .elog-cf7-type .wpcf7-list-item { margin: 0 16px 0 0; }
.elog-uxb-blog-cta__form-col .elog-cf7-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px 10px; }
.elog-uxb-blog-cta__form-col .elog-cf7-grid label { display: block; margin: 0; color: #536079; font-size: 10px; font-weight: 650; line-height: 1.35; }
.elog-uxb-blog-cta__form-col .wpcf7-form-control-wrap { display: block; margin-top: 4px; }
.elog-uxb-blog-cta__form-col .elog-cf7-control {
	width: 100%;
	height: 43px;
	margin: 0 !important;
	padding: 0 10px !important;
	border: 1px solid #dce3ed !important;
	border-radius: 8px !important;
	background: #fbfcfe !important;
	box-shadow: none !important;
	color: var(--elog-uxb-navy);
	font-size: 12px !important;
}
.elog-uxb-blog-cta__form-col .elog-cf7-control:focus { border-color: var(--elog-uxb-red) !important; box-shadow: 0 0 0 3px rgba(211,7,44,.08) !important; }
.elog-uxb-blog-cta__form-col .elog-cf7-submit {
	width: 100%;
	min-height: 52px;
	margin: 13px 0 0 !important;
	padding: 10px 16px !important;
	border: 0 !important;
	border-radius: 9px !important;
	background: linear-gradient(135deg,#ef1735,#c70727) !important;
	box-shadow: 0 10px 20px rgba(211,7,44,.19) !important;
	color: #fff !important;
	font-size: 13px !important;
	font-weight: 850 !important;
	line-height: 1.35;
	letter-spacing: .01em;
	text-transform: none !important;
}
.elog-uxb-blog-cta__form-col .wpcf7-spinner { position: absolute; }
.elog-uxb-blog-cta__form-col .wpcf7-not-valid-tip { margin-top: 3px; font-size: 10px; }
.elog-uxb-blog-cta__form-col .wpcf7-response-output { margin: 10px 0 0 !important; padding: 8px 10px !important; border-radius: 7px; font-size: 11px; line-height: 1.45; }
.elog-uxb-blog-cta .row.elog-uxb-blog-cta__security {
	display: grid;
	grid-template-columns: 18px minmax(0,1fr);
	gap: 7px;
	align-items: center;
	justify-content: center;
	width: fit-content;
	margin: 13px auto 0 !important;
}
.elog-uxb-blog-cta__security > .col { width: 100%; max-width: none; flex-basis: auto; }
.elog-uxb-blog-cta .img.elog-uxb-blog-cta__security-icon { width: 17px !important; }
.elog-uxb-blog-cta__security-text { color: #52617a; font-size: 10px; line-height: 1.4; }
.elog-uxb-blog-cta__visual-copy > .col-inner { min-height: 490px; padding-top: 152px; }
.elog-uxb-blog-cta__visual-title,
.elog-uxb-blog-cta__visual-subtitle {
	color: var(--elog-uxb-navy);
	font-family: Georgia,serif;
	font-style: italic;
	line-height: 1.18;
	text-shadow: 0 1px 0 #fff;
}
.elog-uxb-blog-cta__visual-title { font-size: 22px; }
.elog-uxb-blog-cta__visual-subtitle { margin-top: 3px; color: #132e5f; font-size: 16px; }

/* Full-width red trust strip. */
.elog-uxb-blog-cta .row.elog-uxb-blog-cta__bottom {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1.15fr repeat(3,1fr);
	width: calc(100% - 72px) !important;
	max-width: 1268px !important;
	min-height: 146px;
	margin: 0 auto !important;
	color: #fff;
}
.elog-uxb-blog-cta__bottom::before {
	content: "";
	display: block !important;
	position: absolute;
	z-index: -1;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 100vw;
	background: linear-gradient(135deg,#df112f,#a9001a 75%);
	transform: translateX(-50%);
}
.elog-uxb-blog-cta__bottom > .col { width: 100%; max-width: none; flex-basis: auto; }
.elog-uxb-blog-cta__brand > .col-inner { display: flex; flex-direction: column; justify-content: center; height: 100%; padding-right: 22px; }
.elog-uxb-blog-cta__brand-name { color: #fff; font-size: 25px; font-weight: 900; line-height: 1.12; letter-spacing: -.035em; }
.elog-uxb-blog-cta__brand-tagline { margin-top: 6px; color: rgba(255,255,255,.9); font-size: 9px; font-weight: 750; line-height: 1.4; }
.elog-uxb-blog-cta__bottom-item > .col-inner {
	display: grid;
	grid-template-columns: 48px minmax(0,1fr);
	grid-template-rows: auto auto;
	align-content: center;
	column-gap: 12px;
	height: 100%;
	padding: 0 18px;
	border-left: 1px solid rgba(255,255,255,.35);
}
.elog-uxb-blog-cta .img.elog-uxb-blog-cta__bottom-icon {
	grid-row: 1 / 3;
	width: 48px !important;
	height: 48px;
	padding: 10px;
	border: 1px solid rgba(255,255,255,.45);
	border-radius: 50%;
}
.elog-uxb-blog-cta__bottom-icon img { filter: brightness(0) invert(1); }
.elog-uxb-blog-cta__bottom-text,
.elog-uxb-blog-cta__bottom-subtext { color: #fff; font-size: 11px; font-weight: 800; line-height: 1.45; }
.elog-uxb-blog-cta__bottom-subtext { color: rgba(255,255,255,.88); }

@media (min-width:850px) and (max-width:1640px) {
	body:has(.elog-desktop-right-menu) .elog-uxb.elog-uxb-blog-cta {
		width: min(1340px,calc(100vw - 190px));
	}
}
@media (max-width:1199px) {
	.elog-uxb.elog-uxb-blog-cta { width: calc(100vw - 40px); }
	.elog-uxb-blog-cta .row.elog-uxb-blog-cta__stage { grid-template-columns: minmax(0,1fr); min-height: 0; padding-top: 38px; }
	.elog-uxb-blog-cta__copy { grid-column: 1 / -1; }
	.elog-uxb-blog-cta__copy > .col-inner { max-width: none; }
	.elog-uxb-blog-cta__form-col { grid-column: 1; width: 100%; max-width: 520px; justify-self: center; }
	.elog-uxb-blog-cta__visual-copy { display: none; }
	.elog-uxb-blog-cta::before { background: linear-gradient(180deg,#fff 0,#fff 50%,rgba(255,255,255,.68) 70%,rgba(255,255,255,.18) 100%); }
	.elog-uxb-blog-cta .row.elog-uxb-blog-cta__bottom { grid-template-columns: repeat(3,1fr); padding: 18px 0; }
	.elog-uxb-blog-cta__brand { grid-column: 1 / -1; }
	.elog-uxb-blog-cta__brand > .col-inner { align-items: center; padding: 0 0 16px; text-align: center; }
}
@media (max-width:849px) {
	.elog-uxb.elog-uxb-blog-cta { width: calc(100vw - 28px); margin: 32px 0 !important; border-radius: 18px; }
	.elog-uxb-blog-cta > .section-content > .row.elog-uxb-blog-cta__art-row { inset: 0 0 270px; opacity: .28; }
	.elog-uxb-blog-cta::before { inset: 0 0 270px; background: linear-gradient(180deg,#fff 0,rgba(255,255,255,.95) 70%,rgba(255,255,255,.76) 100%); }
	.elog-uxb-blog-cta .row.elog-uxb-blog-cta__stage { grid-template-columns: minmax(0,1fr); gap: 24px; width: calc(100% - 36px) !important; padding: 30px 0; }
	.elog-uxb-blog-cta__copy,
	.elog-uxb-blog-cta__form-col { grid-column: 1; }
	.elog-uxb-blog-cta__visual-copy { display: none; }
	.elog-uxb-blog-cta .row.elog-uxb-blog-cta__bottom { grid-template-columns: minmax(0,1fr); width: calc(100% - 36px) !important; padding: 20px 0; }
	.elog-uxb-blog-cta__bottom-item > .col-inner { min-height: 76px; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.28); border-left: 0; }
}
@media (max-width:549px) {
	.elog-uxb-blog-cta .row.elog-uxb-blog-cta__stage { width: calc(100% - 28px) !important; }
	.elog-uxb-blog-cta__eyebrow-text { font-size: 10px; letter-spacing: .1em; }
	.elog-uxb-blog-cta__heading .section-title,
	.elog-uxb-blog-cta__heading-accent { font-size: clamp(29px,8.3vw,37px); }
	.elog-uxb-blog-cta__lead { font-size: 15px; }
	.elog-uxb-blog-cta .row.elog-uxb-blog-cta__benefits { grid-template-columns: repeat(2,minmax(0,1fr)); }
	.elog-uxb-blog-cta__benefit > .col-inner { min-height: 105px; }
	.elog-uxb-blog-cta__body-copy { font-size: 13px; }
	.elog-uxb-blog-cta .row.elog-uxb-blog-cta__commitments { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px 10px; }
	.elog-uxb-blog-cta__form-col > .col-inner { padding: 22px 16px 18px; }
	.elog-uxb-blog-cta__form-col .elog-cf7-grid { grid-template-columns: minmax(0,1fr); }
	.elog-uxb-blog-cta__form-title { font-size: 22px; }
	.elog-uxb-blog-cta__form-col .elog-cf7-control { height: 45px; font-size: 13px !important; }
	.elog-uxb-blog-cta__form-col .elog-cf7-submit { min-height: 52px; }
}

/*
 * Single post: the article column is narrower than the viewport and may sit
 * beside a sidebar. Keep the CTA inside that column instead of breaking out
 * with a 100vw-based width.
 */
@media (min-width:850px) {
	body.single-post :is(.entry-content,.elog-single-content) .elog-uxb.elog-uxb-blog-cta {
		left: auto;
		width: 100%;
		max-width: 100% !important;
		margin: 36px 0 !important;
		border-radius: 18px;
		transform: none;
	}
	body.single-post :is(.entry-content,.elog-single-content) .elog-uxb-blog-cta .row.elog-uxb-blog-cta__stage {
		grid-template-columns: minmax(0,1fr);
		gap: 26px;
		width: calc(100% - 44px) !important;
		max-width: none !important;
		min-height: 0;
		padding: 36px 0 32px;
	}
	body.single-post :is(.entry-content,.elog-single-content) .elog-uxb-blog-cta__copy {
		grid-column: 1;
	}
	body.single-post :is(.entry-content,.elog-single-content) .elog-uxb-blog-cta__copy > .col-inner {
		max-width: none;
	}
	body.single-post :is(.entry-content,.elog-single-content) .elog-uxb-blog-cta__form-col {
		grid-column: 1;
		justify-self: center;
		width: 100%;
		max-width: 520px;
	}
	body.single-post :is(.entry-content,.elog-single-content) .elog-uxb-blog-cta__visual-copy {
		display: none;
	}
	body.single-post :is(.entry-content,.elog-single-content) .elog-uxb-blog-cta::before {
		background: linear-gradient(180deg,#fff 0,#fff 52%,rgba(255,255,255,.86) 72%,rgba(255,255,255,.36) 100%);
	}
	body.single-post :is(.entry-content,.elog-single-content) .elog-uxb-blog-cta .row.elog-uxb-blog-cta__bottom {
		grid-template-columns: repeat(3,minmax(0,1fr));
		width: calc(100% - 44px) !important;
		max-width: none !important;
		padding: 18px 0;
	}
	body.single-post :is(.entry-content,.elog-single-content) .elog-uxb-blog-cta__brand {
		grid-column: 1 / -1;
	}
	body.single-post :is(.entry-content,.elog-single-content) .elog-uxb-blog-cta__brand > .col-inner {
		align-items: center;
		padding: 0 0 16px;
		text-align: center;
	}
	body.single-post :is(.entry-content,.elog-single-content) .elog-uxb-blog-cta__bottom-item > .col-inner {
		padding: 0 12px;
	}
}

/* Desktop single post: form on the left, editorial copy on the right. */
@media (min-width:1200px) {
	body.single-post :is(.entry-content,.elog-single-content) .elog-uxb-blog-cta .row.elog-uxb-blog-cta__stage {
		grid-template-columns: minmax(285px,.88fr) minmax(0,1.12fr);
		gap: 22px;
		align-items: start;
	}
	body.single-post :is(.entry-content,.elog-single-content) .elog-uxb-blog-cta__form-col {
		grid-column: 1;
		grid-row: 1;
		align-self: start;
		max-width: none;
	}
	body.single-post :is(.entry-content,.elog-single-content) .elog-uxb-blog-cta__copy {
		grid-column: 2;
		grid-row: 1;
	}
	body.single-post :is(.entry-content,.elog-single-content) .elog-uxb-blog-cta__copy > .col-inner {
		padding: 22px;
		border: 1px solid rgba(255,255,255,.82);
		border-radius: 18px;
		background: rgba(255,255,255,.90);
		box-shadow: 0 12px 32px rgba(7,29,67,.08);
		backdrop-filter: blur(5px);
	}
	body.single-post :is(.entry-content,.elog-single-content) .elog-uxb-blog-cta__heading .section-title,
	body.single-post :is(.entry-content,.elog-single-content) .elog-uxb-blog-cta__heading-accent {
		font-size: clamp(27px,2.2vw,34px);
	}
	body.single-post :is(.entry-content,.elog-single-content) .elog-uxb-blog-cta__lead {
		margin-top: 12px;
		font-size: 14px;
	}
	body.single-post :is(.entry-content,.elog-single-content) .elog-uxb-blog-cta .row.elog-uxb-blog-cta__benefits,
	body.single-post :is(.entry-content,.elog-single-content) .elog-uxb-blog-cta .row.elog-uxb-blog-cta__commitments {
		grid-template-columns: repeat(2,minmax(0,1fr));
	}
	body.single-post :is(.entry-content,.elog-single-content) .elog-uxb-blog-cta__benefit > .col-inner {
		min-height: 106px;
	}
	body.single-post :is(.entry-content,.elog-single-content) .elog-uxb-blog-cta__body-copy {
		font-size: 13px;
		line-height: 1.6;
	}
	body.single-post :is(.entry-content,.elog-single-content) .elog-uxb-blog-cta__form-col .elog-cf7-grid {
		grid-template-columns: minmax(0,1fr);
	}
	body.single-post :is(.entry-content,.elog-single-content) .elog-uxb-blog-cta__form-title {
		font-size: 21px;
	}
}

body.single-post :is(.entry-content,.elog-single-content) .elog-uxb-blog-cta__form-col .elog-cf7-submit,
body.single-post :is(.entry-content,.elog-single-content) .elog-uxb-blog-cta__form-col .elog-cf7-submit:hover {
	color: #fff !important;
	-webkit-text-fill-color: #fff;
	opacity: 1;
}

@media (prefers-reduced-motion:reduce) {
	.elog-uxb-blog-cta a,
	.elog-uxb-blog-cta button { transition: none !important; }
}
