.ct-portal-gateway-page .entry-title,
.ct-portal-gateway-page .page-title,
.ct-portal-gateway-page .wp-block-post-title,
.ct-portal-gateway-page header.entry-header {
	display: none !important;
}

body.ct-portal-gateway-page {
	background: #f4f6fa;
}

.ct-portal-gateway {
	--ct-gateway-max: 1180px;
	max-width: var(--ct-gateway-max);
	margin: 0 auto;
	padding: 22px 16px 26px;
	position: relative;
	isolation: isolate;
}

.ct-portal-gateway::before {
	content: "";
	position: absolute;
	inset: -120px -80px -80px;
	background:
		radial-gradient(circle at 18% 18%, rgba(15, 23, 42, 0.18) 0%, rgba(15, 23, 42, 0) 60%),
		radial-gradient(circle at 82% 22%, rgba(239, 68, 68, 0.16) 0%, rgba(239, 68, 68, 0) 62%),
		radial-gradient(circle at 60% 86%, rgba(15, 23, 42, 0.12) 0%, rgba(15, 23, 42, 0) 60%);
	filter: blur(18px);
	opacity: 0.65;
	z-index: -1;
	pointer-events: none;
}

.ct-portal-gateway__hero {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 0;
	border-radius: 22px;
	overflow: hidden;
	box-shadow: 0 22px 55px rgba(15, 23, 42, 0.16);
	background: #f7f9fc;
}

.ct-portal-gateway__left {
	position: relative;
	padding: 30px 30px 24px;
	background: linear-gradient(135deg, color-mix(in srgb, var(--ct-theme-primary, #0b1a33) 92%, #000) 0%, #071c38 70%, #06152b 100%);
	color: #fff;
}

.ct-portal-gateway__left::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 56%),
		radial-gradient(circle at 68% 20%, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0) 55%),
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='720' height='420' viewBox='0 0 720 420'%3E%3Cg fill='none' stroke='rgba(255,255,255,0.14)' stroke-width='1'%3E%3Cpath d='M96 140c60-54 120-74 184-62 52 10 78 42 124 48 74 10 122-28 198-54'/%3E%3Cpath d='M112 238c54-34 104-46 168-42 74 4 110 46 176 48 86 2 130-42 200-70'/%3E%3C/g%3E%3Cg fill='rgba(255,255,255,0.12)'%3E%3Ccircle cx='126' cy='140' r='2'/%3E%3Ccircle cx='160' cy='118' r='2'/%3E%3Ccircle cx='208' cy='128' r='2'/%3E%3Ccircle cx='260' cy='150' r='2'/%3E%3Ccircle cx='320' cy='152' r='2'/%3E%3Ccircle cx='394' cy='132' r='2'/%3E%3Ccircle cx='456' cy='112' r='2'/%3E%3Ccircle cx='520' cy='96' r='2'/%3E%3Ccircle cx='586' cy='84' r='2'/%3E%3Ccircle cx='642' cy='94' r='2'/%3E%3Ccircle cx='142' cy='242' r='2'/%3E%3Ccircle cx='204' cy='222' r='2'/%3E%3Ccircle cx='258' cy='234' r='2'/%3E%3Ccircle cx='322' cy='258' r='2'/%3E%3Ccircle cx='384' cy='264' r='2'/%3E%3Ccircle cx='456' cy='248' r='2'/%3E%3Ccircle cx='516' cy='222' r='2'/%3E%3Ccircle cx='578' cy='198' r='2'/%3E%3Ccircle cx='648' cy='190' r='2'/%3E%3C/g%3E%3C/svg%3E");
	background-size: cover;
	background-position: center;
	opacity: 0.75;
	pointer-events: none;
}

.ct-portal-gateway__left::after {
	content: "";
	position: absolute;
	top: -10%;
	right: -70px;
	width: 120px;
	height: 120%;
	background: var(--ct-theme-accent, #ef4444);
	clip-path: polygon(36% 0, 100% 0, 68% 100%, 0 100%);
	opacity: 0.95;
	pointer-events: none;
}

.ct-portal-gateway__badge {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 9px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.16);
	font-weight: 900;
	font-size: 13px;
	backdrop-filter: blur(10px);
}

.ct-portal-gateway__badge-icon {
	width: 32px;
	height: 32px;
	border-radius: 12px;
	background: rgba(239, 68, 68, 0.16);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: inset 0 0 0 1px rgba(239, 68, 68, 0.25);
}

.ct-portal-gateway__badge-icon svg {
	width: 18px;
	height: 18px;
	color: #fff;
}

.ct-portal-gateway__title {
	position: relative;
	margin: 18px 0 10px;
	font-size: 46px;
	line-height: 1.06;
	letter-spacing: -0.02em;
}

.ct-portal-gateway__divider {
	position: relative;
	width: 44px;
	height: 3px;
	border-radius: 99px;
	background: var(--ct-theme-accent, #ef4444);
	margin: 0 0 14px;
}

.ct-portal-gateway__subtitle {
	position: relative;
	margin: 0 0 20px;
	max-width: 520px;
	font-size: 14px;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.88);
}

.ct-portal-gateway__actions {
	position: relative;
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	align-items: center;
	margin-bottom: 18px;
}

.ct-portal-gateway__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 50px;
	padding: 12px 20px;
	border-radius: 14px;
	font-weight: 900;
	text-decoration: none;
	border: 1px solid transparent;
	transition: transform 140ms ease, filter 140ms ease, background 140ms ease;
}

.ct-portal-gateway__btn svg {
	width: 18px;
	height: 18px;
}

.ct-portal-gateway__btn:focus {
	outline: 2px solid color-mix(in srgb, var(--ct-theme-accent, #ef4444) 65%, #fff);
	outline-offset: 2px;
}

.ct-portal-gateway__btn--primary {
	background: var(--ct-theme-accent, #ef4444);
	color: #fff;
}

.ct-portal-gateway__btn--primary:hover {
	filter: brightness(0.96);
	transform: translateY(-1px);
}

.ct-portal-gateway__btn--ghost {
	background: rgba(255, 255, 255, 0.96);
	color: #0f172a;
	border-color: rgba(255, 255, 255, 0.22);
}

.ct-portal-gateway__btn--ghost:hover {
	background: #fff;
	transform: translateY(-1px);
}

.ct-portal-gateway__features {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	gap: 16px 20px;
	margin-top: 10px;
}

.ct-portal-feature {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: rgba(255, 255, 255, 0.86);
	font-weight: 900;
	font-size: 12px;
}

.ct-portal-feature__icon {
	width: 34px;
	height: 34px;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.10);
	border: 1px solid rgba(255, 255, 255, 0.12);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.ct-portal-feature__icon svg {
	width: 16px;
	height: 16px;
	color: rgba(255, 255, 255, 0.92);
}

.ct-portal-gateway__right {
	position: relative;
	padding: 0;
	background: transparent;
	overflow: hidden;
}

.ct-portal-gateway__right::before {
	display: none;
}

.ct-portal-gateway__right-inner {
	position: relative;
	min-height: 520px;
	height: 100%;
	padding: 0;
}

.ct-portal-gateway__image {
	position: absolute;
	inset: 0;
	overflow: hidden;
}

.ct-portal-gateway__image::after {
	display: none;
}

.ct-portal-gateway__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	transform: none;
	filter: none;
}

.ct-portal-gateway__preview {
	position: relative;
	z-index: 2;
	width: min(460px, 100%);
	background: #fff;
	border: 1px solid rgba(15, 23, 42, 0.1);
	border-radius: 18px;
	padding: 18px 18px 18px;
	box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
	backdrop-filter: blur(14px);
}

.ct-portal-preview__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 0;
	border-bottom: 1px solid rgba(15, 23, 42, 0.07);
}

.ct-portal-preview__row:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.ct-portal-preview__k {
	font-weight: 900;
	font-size: 11px;
	color: #475569;
	margin-bottom: 4px;
}

.ct-portal-preview__v {
	font-weight: 900;
	color: #0f172a;
	font-size: 13px;
}

.ct-portal-preview__copy {
	width: 34px;
	height: 34px;
	border-radius: 12px;
	border: 1px solid rgba(15, 23, 42, 0.12);
	background: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 34px;
}

.ct-portal-preview__copy svg {
	width: 16px;
	height: 16px;
	color: #0f172a;
}

.ct-portal-preview__status {
	display: flex;
	gap: 12px;
	align-items: flex-start;
}

.ct-portal-preview__status-icon {
	width: 36px;
	height: 36px;
	border-radius: 14px;
	background: rgba(15, 23, 42, 0.06);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 36px;
}

.ct-portal-preview__status-icon svg {
	width: 18px;
	height: 18px;
	color: var(--ct-theme-primary, #0b1a33);
}

.ct-portal-preview__status-title {
	font-weight: 950;
	color: #1d4ed8;
	margin-bottom: 2px;
}

.ct-portal-preview__status-sub {
	font-size: 12px;
	color: #64748b;
	font-weight: 800;
}

.ct-portal-preview__steps {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 12px 0 10px;
}

.ct-portal-preview__step-bar {
	position: absolute;
	left: 42px;
	right: 42px;
	top: 50%;
	height: 4px;
	border-radius: 99px;
	background: rgba(15, 23, 42, 0.14);
	transform: translateY(-50%);
}

.ct-portal-preview__step-bar span {
	display: block;
	height: 100%;
	width: 58%;
	border-radius: 99px;
	background: #1d4ed8;
}

.ct-portal-step {
	position: relative;
	z-index: 1;
	width: 34px;
	height: 34px;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(15, 23, 42, 0.06);
	border: 1px solid rgba(15, 23, 42, 0.08);
}

.ct-portal-step__icon svg {
	width: 16px;
	height: 16px;
}

.ct-portal-step--done {
	background: rgba(239, 68, 68, 0.14);
	border-color: rgba(239, 68, 68, 0.26);
}

.ct-portal-step--done svg {
	color: var(--ct-theme-accent, #ef4444);
}

.ct-portal-step--active {
	background: rgba(29, 78, 216, 0.14);
	border-color: rgba(29, 78, 216, 0.26);
}

.ct-portal-step--active svg {
	color: #1d4ed8;
}

.ct-portal-step--pending {
	background: rgba(148, 163, 184, 0.22);
	border-color: rgba(148, 163, 184, 0.26);
}

.ct-portal-step--pending svg {
	color: #94a3b8;
}

.ct-portal-preview__mini {
	font-size: 12px;
	color: #64748b;
	font-weight: 800;
	line-height: 1.45;
}

.ct-portal-preview__pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 6px 10px;
	border-radius: 999px;
	font-weight: 900;
	font-size: 11px;
	background: rgba(29, 78, 216, 0.10);
	color: #1d4ed8;
	border: 1px solid rgba(29, 78, 216, 0.16);
}

.ct-portal-preview__status-icon--doc {
	background: rgba(29, 78, 216, 0.08);
}

.ct-portal-preview__status-icon--doc svg {
	color: #1d4ed8;
}

.ct-portal-preview__status-icon--invoice {
	background: rgba(239, 68, 68, 0.08);
}

.ct-portal-preview__status-icon--invoice svg {
	color: var(--ct-theme-accent, #ef4444);
}

.ct-portal-preview__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 7px 10px;
	border-radius: 999px;
	font-weight: 900;
	font-size: 11px;
	text-decoration: none;
	background: rgba(239, 68, 68, 0.12);
	color: var(--ct-theme-accent, #ef4444);
}

.ct-portal-preview__lock {
	display: flex;
	gap: 12px;
	align-items: flex-start;
}

.ct-portal-preview__lock-icon {
	width: 38px;
	height: 38px;
	border-radius: 12px;
	background: rgba(34, 197, 94, 0.14);
	border: 1px solid rgba(34, 197, 94, 0.22);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 38px;
}

.ct-portal-preview__lock-icon svg {
	width: 18px;
	height: 18px;
	color: #16a34a;
}

.ct-portal-preview__lock strong {
	display: block;
	font-weight: 950;
	color: #0f172a;
	margin-bottom: 2px;
}

.ct-portal-preview__lock span {
	display: block;
	font-size: 12px;
	color: #64748b;
	font-weight: 800;
}

@media (max-width: 960px) {
	.ct-portal-gateway__hero {
		grid-template-columns: 1fr;
	}

	.ct-portal-gateway__right {
		display: none;
	}

}

@media (max-width: 640px) {
	.ct-portal-gateway__left {
		padding: 20px 18px 18px;
	}

	.ct-portal-gateway__title {
		font-size: 34px;
	}
}
