/*
 * Golden Gatherings Membership CTA — widget styles.
 * All colors/typography/spacing are overridden by Elementor's generated
 * inline CSS; these rules only provide structural defaults and safe
 * fallbacks. All selectors are scoped under .ggmc-cta so nothing here can
 * leak into or be affected by the rest of the site.
 */

.ggmc-cta {
	position: relative;
	background-color: #FBF7EF;
	border-radius: 24px;
	overflow: hidden;
	box-sizing: border-box;
}

.ggmc-cta,
.ggmc-cta * {
	box-sizing: border-box;
}

.ggmc-cta__inner {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	gap: 40px;
	padding: 40px 48px;
}

/* Image -------------------------------------------------------------- */
.ggmc-cta__image-wrap {
	position: relative;
	flex: 0 0 28%;
	width: 28%;
	height: 320px;
	border-radius: 18px;
	overflow: hidden;
	align-self: flex-start;
}

.ggmc-cta__image-wrap img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}

.ggmc-cta__image-wrap::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background-color: transparent;
	opacity: 0;
}

/* Content -------------------------------------------------------------- */
.ggmc-cta__content {
	flex: 1 1 auto;
	min-width: 0;
}

.ggmc-cta__heading {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 34px;
	font-weight: 700;
	line-height: 1.25;
	color: #1F3B2C;
	text-align: center;
	margin: 0 0 18px;
}

.ggmc-cta__description {
	font-family: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
	font-size: 16px;
	line-height: 1.7;
	color: #4A4A42;
	text-align: center;
	max-width: 90%;
	margin: 0 auto 28px;
}

/* Button ----------------------------------------------------------------- */
.ggmc-cta__button-wrap {
	display: flex;
	justify-content: center;
}

.ggmc-cta__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	text-decoration: none !important;
	font-family: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
	font-size: 16px;
	font-weight: 600;
	color: #FFFFFF;
	background-color: #C1861E;
	border: 2px solid #C1861E;
	border-radius: 10px;
	padding: 18px 32px;
	cursor: pointer;
	transition-property: background-color, color, border-color, box-shadow, transform;
	transition-duration: 250ms;
	transition-timing-function: ease;
}

.ggmc-cta__button:hover,
.ggmc-cta__button:focus {
	background-color: #1F3B2C;
	border-color: #1F3B2C;
	color: #FFFFFF;
	text-decoration: none !important;
}

.ggmc-cta__button:focus-visible {
	outline: 3px solid #2E6DA4;
	outline-offset: 2px;
}

.ggmc-cta__button-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

.ggmc-cta__button-icon svg,
.ggmc-cta__button-icon i {
	width: 1em;
	height: 1em;
}

/* Top decorative divider ---------------------------------------------------- */
.ggmc-divider {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	margin: 0 0 24px;
}

.ggmc-divider__line {
	display: block;
	height: 1px;
	background-color: #C1861E;
}

.ggmc-divider__leaf {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	line-height: 1;
	color: #C1861E;
}

.ggmc-divider__leaf svg,
.ggmc-divider__leaf i {
	width: 1em;
	height: 1em;
}

@media (min-width: 1025px) {
	.ggmc-divider--hide-desktop {
		display: none;
	}
}

@media (min-width: 768px) and (max-width: 1024px) {
	.ggmc-divider--hide-tablet {
		display: none;
	}
}

@media (max-width: 767px) {
	.ggmc-divider--hide-mobile {
		display: none;
	}
}

/* Decorative leaves ----------------------------------------------------------- */
.ggmc-leaf {
	position: absolute;
	z-index: 1;
	pointer-events: none;
	user-select: none;
	width: 110px;
	height: auto;
}

.ggmc-leaf--top_left {
	top: -12px;
	left: -12px;
}

.ggmc-leaf--top_right {
	top: -12px;
	right: -12px;
}

.ggmc-leaf--bottom_left {
	bottom: -12px;
	left: -12px;
}

.ggmc-leaf--bottom_right {
	bottom: -12px;
	right: -12px;
}

@media (max-width: 767px) {
	.ggmc-leaf--hide-mobile {
		display: none;
	}
}

/* Responsive layout ------------------------------------------------------------ */
@media (max-width: 900px) {
	.ggmc-cta__inner {
		flex-direction: column;
		padding: 32px 24px;
	}

	.ggmc-cta__image-wrap {
		width: 100%;
		flex: 0 0 auto;
		height: 240px;
		align-self: stretch;
	}

	.ggmc-cta__heading {
		font-size: 26px;
	}

	.ggmc-cta__description {
		max-width: 100%;
	}

	.ggmc-cta__button {
		width: 100%;
		text-align: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ggmc-cta__button {
		transition: none;
	}
}
