/* Reserve space so footer content is not overlapped by fixed CTA (value set by JS) */
body {
	padding-bottom: var(--footer-cta-spacing, 0);
	transition: padding-bottom 0.25s ease;
}

.gb-container.web-footer-cta {
	display: flex;
	position: fixed;
	padding: 10px 20px;
	z-index: 1000;
	box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2) !important;
	justify-content: center;
	gap: 30px;
	flex-direction: row;
	vertical-align: middle;
	align-items: center;
	bottom: 0;
	left: 0;
	width: 100%;
	background-color: #1a1a1a;
	color: #fff;
	font-weight: 600;
	max-width: 100%;
	transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.gb-container.web-footer-cta.footer-cta-hidden {
	transform: translateY(100%);
	opacity: 0;
	pointer-events: none;
}

/* Close button styles */
.footer-cta-close {
	position: absolute;
	top: 5px;
	right: 20px;
	background: transparent;
	border: none;
	color: #fff;
	cursor: pointer;
	padding: 5px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	transition: background-color 0.2s ease, opacity 0.2s ease;
	z-index: 1001;
}

.footer-cta-close:hover {
	background-color: rgba(255, 255, 255, 0.2);
	opacity: 0.8;
}

.footer-cta-close:focus {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.footer-cta-close svg {
	width: 18px;
	height: 18px;
}

.web-footer-cta .cta-button-wrapper a {
	position: relative;
	min-width: 150px;
	text-align: center;
	line-height: 0 !important;
	display: block !important;
	padding: 20px 30px;
	background: var(--wp--preset--color--blue);
    color: #fff;
    font-size: 12px;
    font-style: normal;
    transition: background .3s ease-in-out;
    border-radius: 6px;
}

.wp-block-apac-titans-at-aem-fragment .footer p {
	margin: 12px 0;
}

.cta-button-wrapper {
	max-width: 100%;
	width: 190px;
  }

  .gb-headline.gb-headline-text {
		font-size: 1.2rem;
  }

@media (max-width: 1440px) {
	.gb-headline.gb-headline-text {
		font-size: 1.125rem;
	}

	.footer-cta-close {
		right: 20px;
	}
}

@media (max-width: 1199px) {
    .web-footer-cta .cta-button-wrapper a {
        padding: 20px 15px;
    }
	.footer-cta-close {
		top: 0px;
  		right: 0px;
	}
}

@media (max-width: 768px) {
	.gb-container.web-footer-cta {
		flex-direction: column;
		gap: 0px;
		min-height: 148px;
	}

	.gb-container.web-footer-cta p {
		text-align: center;
	}
}